1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[nextion] clang-tidy fixes for #7822 (#7878)

This commit is contained in:
Keith Burzinski
2024-11-27 16:22:37 -06:00
committed by GitHub
parent 65a5216d17
commit a825ef59d4

View File

@@ -563,13 +563,10 @@ void Nextion::process_nextion_commands_() {
break;
}
int dataindex = 0;
int value = 0;
for (int i = 0; i < 4; ++i) {
value += to_process[i] << (8 * i);
++dataindex;
}
NextionQueue *nb = this->nextion_queue_.front();