add further boilerplate, missing functions for usb console

This commit is contained in:
true
2024-11-06 22:19:03 -08:00
parent 7beb6b8ac5
commit 5cd5005ae3
5 changed files with 21 additions and 14 deletions

View File

@@ -1,8 +1,5 @@
/*
* cons_about.h
*
* Created on: Nov 6, 2024
* Author: true
* about.h
*/
#ifndef USER_SHELL_COMMANDS_ABOUT_H_

View File

@@ -1,8 +1,5 @@
/*
* cons_cls.h
*
* Created on: Nov 6, 2024
* Author: true
* cls.h
*/
#ifndef USER_SHELL_COMMANDS_CLS_H_

View File

@@ -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);