add further boilerplate, missing functions for usb console
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
/*
|
||||
* cons_about.h
|
||||
*
|
||||
* Created on: Nov 6, 2024
|
||||
* Author: true
|
||||
* about.h
|
||||
*/
|
||||
|
||||
#ifndef USER_SHELL_COMMANDS_ABOUT_H_
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/*
|
||||
* cons_cls.h
|
||||
*
|
||||
* Created on: Nov 6, 2024
|
||||
* Author: true
|
||||
* cls.h
|
||||
*/
|
||||
|
||||
#ifndef USER_SHELL_COMMANDS_CLS_H_
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/*
|
||||
* cons_help.h
|
||||
*
|
||||
* Created on: Nov 6, 2024
|
||||
* Author: true
|
||||
* help.h
|
||||
*/
|
||||
|
||||
#ifndef USER_SHELL_COMMANDS_HELP_H_
|
||||
@@ -48,7 +45,7 @@ void cons_help_real(int argc, char **argv, command_table_t *p)
|
||||
}
|
||||
|
||||
// looks like the command wasn't found
|
||||
strcpy( console_line, "* no help found for command called '");
|
||||
strcpy( console_line, "* no help found for '");
|
||||
strncat(console_line, argv[1], 60);
|
||||
strncat(console_line, "'\r\n", 62);
|
||||
CONS_PRINT(console_line);
|
||||
|
||||
Reference in New Issue
Block a user