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) {
|
||||
bool retCode = false;
|
||||
|
||||
if (argc >= 1) {
|
||||
if (0 == strcmp("?", args[0])) {
|
||||
if (argc >= 2) {
|
||||
if (0 == strcmp("?", args[1])) {
|
||||
sendString("You can set the following parameters:\n\r");
|
||||
retCode = true;
|
||||
}
|
||||
|
@ -58,11 +58,11 @@ void my_setup_2() {
|
||||
cmdHandlerInit();
|
||||
oledPrint(OLED_SCREEN0, "cmdhandler init");
|
||||
|
||||
frontendInit();
|
||||
oledPrint(OLED_SCREEN0, "frontend init");
|
||||
//frontendInit();
|
||||
//oledPrint(OLED_SCREEN0, "frontend init");
|
||||
|
||||
mbusCommInit();
|
||||
oledPrint(OLED_SCREEN0, "Meterbus init");
|
||||
//mbusCommInit();
|
||||
//oledPrint(OLED_SCREEN0, "Meterbus init");
|
||||
oledPrint(OLED_SCREEN0, "App running");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user