disable mbus requests, fix set cmd

This commit is contained in:
2020-12-11 12:18:22 +01:00
parent 7b7a866652
commit cfb1dc7d9a
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) {
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;
}