Explorar el Código

Fix missing ')'

Roxy-3D hace 6 años
padre
commit
a35abce1ac
No account linked to committer's email address
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      Marlin/src/feature/Max7219_Debug_LEDs.h

+ 4
- 4
Marlin/src/feature/Max7219_Debug_LEDs.h Ver fichero

133
   #define MAX7219_UPDATE_AXIS     x   // Fast line update axis for this orientation of the matrix display
133
   #define MAX7219_UPDATE_AXIS     x   // Fast line update axis for this orientation of the matrix display
134
   #define MAX7219_X_LEDS          8
134
   #define MAX7219_X_LEDS          8
135
   #define MAX7219_Y_LEDS          (MAX7219_X_LEDS * (MAX7219_NUMBER_UNITS))
135
   #define MAX7219_Y_LEDS          (MAX7219_X_LEDS * (MAX7219_NUMBER_UNITS))
136
-  #define XOR_7219(x, y)          LEDs[x + (y & 0xF8] ^= _BV(7 - (y & 0x7))
137
-  #define SET_PIXEL_7219(x, y)    LEDs[x + (y & 0xF8] |= _BV(7 - (y & 0x7))
138
-  #define CLEAR_PIXEL_7219(x, y)  LEDs[x + (y & 0xF8] &= (_BV(7 - (y & 0x7)) ^ 0xFF)
136
+  #define XOR_7219(x, y)          LEDs[x + (y & 0xF8)] ^= _BV(7 - (y & 0x7))
137
+  #define SET_PIXEL_7219(x, y)    LEDs[x + (y & 0xF8)] |= _BV(7 - (y & 0x7))
138
+  #define CLEAR_PIXEL_7219(x, y)  LEDs[x + (y & 0xF8)] &= (_BV(7 - (y & 0x7)) ^ 0xFF)
139
   #define BIT_7219(x, y)          TEST(LEDs[x + (y & 0xF8)], 7 - (y & 0x7))
139
   #define BIT_7219(x, y)          TEST(LEDs[x + (y & 0xF8)], 7 - (y & 0x7))
140
   #define SEND_7219(R) do {for(int8_t jj = 0; jj < MAX7219_NUMBER_UNITS; jj++) Max7219(max7219_reg_digit7 - (R & 0x7), LEDs[(R & 0x7) + jj * 8]); Max7219_pulse_load(); } while (0);
140
   #define SEND_7219(R) do {for(int8_t jj = 0; jj < MAX7219_NUMBER_UNITS; jj++) Max7219(max7219_reg_digit7 - (R & 0x7), LEDs[(R & 0x7) + jj * 8]); Max7219_pulse_load(); } while (0);
141
 #else
141
 #else
142
-  #error "MAX7219_ROTATE must be a multiple of +/- 90°."
142
+  #error "MAX7219_ROTATE must be a multiple of +/- 90°."
143
 #endif
143
 #endif
144
 
144
 
145
 extern uint8_t LEDs[8*MAX7219_NUMBER_UNITS];
145
 extern uint8_t LEDs[8*MAX7219_NUMBER_UNITS];

Loading…
Cancelar
Guardar