rcommand.cpp: bugfix issue #139

This commit is contained in:
cyberman54 2018-08-14 22:28:34 +02:00
parent f659d18390
commit b9327100f2

View File

@ -270,8 +270,10 @@ void rcommand(uint8_t cmd[], uint8_t cmdlength) {
break; // command found -> exit table lookup loop break; // command found -> exit table lookup loop
} // end of command validation } // end of command validation
} // end of command table lookup loop } // end of command table lookup loop
if (i < 0) // command not found -> exit parser if (i < 0) { // command not found -> exit parser
ESP_LOGI(TAG, "Unknown remote command x%02X, ignored", cmd[cursor]);
break; break;
}
} // command parsing loop } // command parsing loop
if (storeflag) if (storeflag)