mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 20:15:17 +01:00
tweak 270 flipped
This commit is contained in:
parent
b9bcef8343
commit
e65774f14f
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ void MAX7219Component::send64pixels(uint8_t chip, const uint8_t pixels[8]) {
|
|||
} else {
|
||||
for (uint8_t i = 0; i < 8; i++) {
|
||||
if (this->flip_x_) {
|
||||
b |= ((pixels[7 - col] >> i) & 1) << i;
|
||||
b |= ((pixels[col] >> i) & 1) << (7 - i);
|
||||
} else {
|
||||
b |= ((pixels[7 - col] >> i) & 1) << (7 - i);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue