Add logging for some Nextion errors that didn't have any (#2957)

This commit is contained in:
Christopher Masto 2022-01-03 13:09:25 -05:00 committed by GitHub
parent 8ad06fb9ea
commit f849d45bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,6 +329,7 @@ void Nextion::process_nextion_commands_() {
break;
case 0x02: // invalid Component ID or name was used
ESP_LOGW(TAG, "Nextion reported component ID or name invalid!");
this->remove_from_q_();
break;
case 0x03: // invalid Page ID or name was used
@ -387,6 +388,7 @@ void Nextion::process_nextion_commands_() {
}
break;
case 0x1A: // variable name invalid
ESP_LOGW(TAG, "Nextion reported variable name invalid!");
this->remove_from_q_();
break;