Update some comments
This commit is contained in:
parent
d5df336821
commit
611bd4684f
@ -319,6 +319,8 @@ int cmd_time(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
struct timespec end;
|
||||
struct timespec diff;
|
||||
|
||||
/* Get and print the elapsed time */
|
||||
|
||||
ret = clock_gettime(TIME_CLOCK, &end);
|
||||
if (ret < 0)
|
||||
{
|
||||
@ -340,6 +342,8 @@ int cmd_time(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
/* Restore state */
|
||||
|
||||
vtbl->np.np_bg = bgsave;
|
||||
vtbl->np.np_redirect = redirsave;
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user