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

This commit is contained in:
Keith Burzinski
2024-11-28 11:22:37 +13:00
committed by GitHub
parent 65a5216d17
commit a825ef59d4
-3
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();