disable mbus requests, fix set cmd
This commit is contained in:
parent
7b7a866652
commit
cfb1dc7d9a
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user