mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
parent
65a5216d17
commit
a825ef59d4
@ -563,13 +563,10 @@ void Nextion::process_nextion_commands_() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
int dataindex = 0;
|
|
||||||
|
|
||||||
int value = 0;
|
int value = 0;
|
||||||
|
|
||||||
for (int i = 0; i < 4; ++i) {
|
for (int i = 0; i < 4; ++i) {
|
||||||
value += to_process[i] << (8 * i);
|
value += to_process[i] << (8 * i);
|
||||||
++dataindex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NextionQueue *nb = this->nextion_queue_.front();
|
NextionQueue *nb = this->nextion_queue_.front();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user