Send dirty states when screen wakes up (#2167)

This commit is contained in:
Jesse Hills 2021-08-18 10:22:00 +12:00 committed by GitHub
parent ebaa84617f
commit edb3b77916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -543,6 +543,7 @@ void Nextion::process_nextion_commands_() {
ESP_LOGVV(TAG, "Received Nextion leaves sleep automatically"); ESP_LOGVV(TAG, "Received Nextion leaves sleep automatically");
this->is_sleeping_ = false; this->is_sleeping_ = false;
this->wake_callback_.call(); this->wake_callback_.call();
this->all_components_send_state_(false);
break; break;
} }
case 0x88: // system successful start up case 0x88: // system successful start up