Ver código fonte

[finsh] export system symbol

Bernard Xiong 10 anos atrás
pai
commit
340a013f53
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      components/finsh/msh.c

+ 1 - 0
components/finsh/msh.c

@@ -253,6 +253,7 @@ int system(const char *command)
 {
     return msh_exec_module(command, rt_strlen(command));
 }
+RTM_EXPORT(system);
 #endif
 
 static int _msh_exec_cmd(char* cmd, rt_size_t length, int *retp)