mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 07:12:06 +08:00
Remove the unnecessary cast for main_t, NULL and argv
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:

committed by
Petro Karashchenko

parent
d6f787afca
commit
b659f0fbdf
@@ -431,8 +431,7 @@ int main(int argc, char **argv)
|
||||
|
||||
ret = task_create("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY,
|
||||
CONFIG_SYSTEM_STACKMONITOR_STACKSIZE,
|
||||
(main_t)stackmonitor_daemon,
|
||||
(FAR char * const *)NULL);
|
||||
stackmonitor_daemon, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
int errcode = errno;
|
||||
|
Reference in New Issue
Block a user