mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01:00
Fix tm1637 bootloop (#2929)
This commit is contained in:
parent
542fb2175b
commit
1ccee86705
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue