mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 12:27:13 +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
|
// Write the data bytes
|
||||||
if (this->inverted_) {
|
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]);
|
this->send_byte_(this->buffer_[i]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user