disable mbus requests, fix set cmd

This commit is contained in:
Wolfgang Hottgenroth 2020-12-11 12:18:22 +01:00
parent 7b7a866652
commit cfb1dc7d9a
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
2 changed files with 6 additions and 6 deletions

View File

@ -54,8 +54,8 @@ static bool showConfigCmd(uint8_t argc, char **args) {
static bool setCmd(uint8_t argc, char **args) { static bool setCmd(uint8_t argc, char **args) {
bool retCode = false; bool retCode = false;
if (argc >= 1) { if (argc >= 2) {
if (0 == strcmp("?", args[0])) { if (0 == strcmp("?", args[1])) {
sendString("You can set the following parameters:\n\r"); sendString("You can set the following parameters:\n\r");
retCode = true; retCode = true;
} }

View File

@ -58,11 +58,11 @@ void my_setup_2() {
cmdHandlerInit(); cmdHandlerInit();
oledPrint(OLED_SCREEN0, "cmdhandler init"); oledPrint(OLED_SCREEN0, "cmdhandler init");
frontendInit(); //frontendInit();
oledPrint(OLED_SCREEN0, "frontend init"); //oledPrint(OLED_SCREEN0, "frontend init");
mbusCommInit(); //mbusCommInit();
oledPrint(OLED_SCREEN0, "Meterbus init"); //oledPrint(OLED_SCREEN0, "Meterbus init");
oledPrint(OLED_SCREEN0, "App running"); oledPrint(OLED_SCREEN0, "App running");
} }