Skip to content

Commit

Permalink
Bugfix/logcmd help (#217)
Browse files Browse the repository at this point in the history
* Fix help error messages in log command
  • Loading branch information
pwittich authored Mar 27, 2024
1 parent 0b78ecf commit 0bc9223
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions projects/cm_mcu/CommandLineTask.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include "commands/SensorControl.h"
#include "commands/SoftwareCommands.h"
#include "common/smbus_units.h"
#include "common/printf.h"
#include "common/log.h"
#include "Semaphore.h"

static char m[SCRATCH_SIZE];
Expand Down Expand Up @@ -345,7 +343,7 @@ static struct command_t commands[] = {
{
"log",
log_ctl,
"args: (<fac> debug|toggle|info|warn|fatal|trace)(status|quiet)\r\nChange levels\r\n",
"args: (<fac> FTL|ERR|WRN|INF|DBG|TRC)|dump|status|quiet\r\nConfigure log\r\n",
-1,
},
{"led", led_ctl, "Manipulate red LED\r\n", 1},
Expand Down
2 changes: 0 additions & 2 deletions projects/cm_mcu/commands/SoftwareCommands.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <assert.h>
#include <strings.h>

#include "commands/SoftwareCommands.h"
#include "FreeRTOS.h"
#include "Tasks.h"
#include "commands/parameters.h"
#include "portmacro.h"
Expand Down

0 comments on commit 0bc9223

Please sign in to comment.