mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 17:28:01 +01:00
Fix tm1637 bootloop (#2929)
This commit is contained in:
parent
542fb2175b
commit
1ccee86705
@ -176,7 +176,7 @@ void TM1637Display::display() {
|
||||
|
||||
// Write the data bytes
|
||||
if (this->inverted_) {
|
||||
for (uint8_t i = this->length_ - 1; i >= 0; i--) {
|
||||
for (int8_t i = this->length_ - 1; i >= 0; i--) {
|
||||
this->send_byte_(this->buffer_[i]);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user