mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 06:11:35 +08:00
Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC
This commit is contained in:
@@ -365,7 +365,7 @@ static pthread_addr_t nsh_child(pthread_addr_t arg)
|
||||
|
||||
dbg("BG %s complete\n", carg->argv[0]);
|
||||
nsh_releaseargs(carg);
|
||||
return (void*)ret;
|
||||
return (pthread_addr_t)((uintptr_t)ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user