can't get input parameters?
zhjf0111 opened this issue · 2 comments
zhjf0111 commented
the shell works well when there is no parameters, but report "wrong cmd" when a command following by a parameter.
zhjf0111 commented
Sorry, I just found the solution!
ShareCat commented
sorry, I just got this message.
as for your question, you can get the following parameter from the "void *para", you can see the solution from this LED example function: "uint8_t CLI_LED(void *para, uint8_t len)"