diff --git a/firmware/hw_layer/adc_inputs.cpp b/firmware/hw_layer/adc_inputs.cpp index a05d626bec..b40f997514 100644 --- a/firmware/hw_layer/adc_inputs.cpp +++ b/firmware/hw_layer/adc_inputs.cpp @@ -554,7 +554,7 @@ void initAdcInputs(bool boardTestMode) { configureInputs(); // migrate to 'enable adcdebug' - addConsoleActionI("adcDebug", &setAdcDebugReporting); + addConsoleActionI("adcdebug", &setAdcDebugReporting); #if EFI_INTERNAL_ADC /* diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index 23d630a07c..d9e90475d6 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -433,7 +433,7 @@ void initMmcCard(void) { chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL); addConsoleAction("mountsd", MMCmount); - addConsoleActionS("appendToLog", appendToLog); + addConsoleActionS("appendtolog", appendToLog); addConsoleAction("umountsd", MMCumount); addConsoleActionS("ls", listDirectory); addConsoleActionS("del", removeFile); diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 6fbeb7d92d..ec35f39b9a 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -250,5 +250,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20170402; + return 20170404; } diff --git a/firmware/util/cli_registry.cpp b/firmware/util/cli_registry.cpp index 5df8a8c0f1..afd6ea8c2f 100644 --- a/firmware/util/cli_registry.cpp +++ b/firmware/util/cli_registry.cpp @@ -47,6 +47,12 @@ void resetConsoleActions(void) { static void doAddAction(const char *token, action_type_e type, Void callback, void *param) { efiAssertVoid(consoleActionCount < CONSOLE_MAX_ACTIONS, "Too many console actions"); TokenCallback *current = &consoleActions[consoleActionCount++]; + for (int i = 0; i< efiStrlen(token);i++) { + char ch = token[i]; + if (ch != mytolower(ch)) { + firmwareError(CUSTOM_ERR_6140, "lowerCase expected [%s]", token); + } + } current->token = token; current->parameterType = type; current->callback = callback;