diff --git a/CommandLines.c b/CommandLines.c index 28b182a..ee8319e 100644 --- a/CommandLines.c +++ b/CommandLines.c @@ -53,7 +53,7 @@ void CommandLine_Init(tCommandLine *env, tSerialPortIO *cliVirtualPortIn_Io, tSe CliRedirectionTable_RecAddStatic(&env->redirectTable, "help", CliCmd_baseCommandHelp, NULL); CliRedirectionTable_RecAddStatic(&env->redirectTable, "mem", vTaskGetRunTime, NULL); CliRedirectionTable_RecAddStatic(&env->redirectTable, "reboot", CliCmd_baseCommandReboot, NULL); - CliRedirectionTable_RecAddStatic(&env->redirectTable, "set_Amb_Fb", CliCmd_set_Amb_Fb, env); + CliRedirectionTable_RecAddStatic(&env->redirectTable, "set_Amb_Fb", (cliCall)CliCmd_set_Amb_Fb, env);