[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();