|
@@ -113,9 +113,9 @@ void Max7219_LED_Set(const uint8_t col, const uint8_t row, const bool on) {
|
113
|
113
|
SERIAL_ECHOLNPGM(")");
|
114
|
114
|
return;
|
115
|
115
|
}
|
116
|
|
- if (TEST(LEDs[row], col) == on) return; // if LED is already on/off, leave alone
|
117
|
|
- if (on) SBI(LEDs[row], col); else CBI(LEDs[row], col);
|
118
|
|
- Max7219(8 - row, LEDs[row]);
|
|
116
|
+ if (TEST(LEDs[col], row) == on) return; // if LED is already on/off, leave alone
|
|
117
|
+ if (on) SBI(LEDs[col], row); else CBI(LEDs[col], row);
|
|
118
|
+ Max7219(8 - col, LEDs[col]);
|
119
|
119
|
}
|
120
|
120
|
|
121
|
121
|
void Max7219_LED_On(const uint8_t col, const uint8_t row) {
|