Explorar o código

forgot to update the define usage when 90 degree rotation was moved to a runtime switch (#5676)

XScorpion2 %!s(int64=6) %!d(string=hai) anos
pai
achega
4ecaa25f3e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      keyboards/zen/rev2/rev2.c

+ 1 - 1
keyboards/zen/rev2/rev2.c

@@ -41,7 +41,7 @@ void render_status(void) {
 
 
   // Host Keyboard LED Status
   // Host Keyboard LED Status
   uint8_t led_usb_state = host_keyboard_leds();
   uint8_t led_usb_state = host_keyboard_leds();
-  oled_set_cursor(0, OLED_MAX_LINES - 4); // Line 13
+  oled_set_cursor(0, oled_max_lines() - 4); // Line 13
   oled_write_P(led_usb_state & (1<<USB_LED_NUM_LOCK) ? PSTR("NUMLK") : PSTR("     "), false); // Line 14
   oled_write_P(led_usb_state & (1<<USB_LED_NUM_LOCK) ? PSTR("NUMLK") : PSTR("     "), false); // Line 14
   oled_write_P(led_usb_state & (1<<USB_LED_CAPS_LOCK) ? PSTR("CAPLK") : PSTR("     "), false); // Line 15
   oled_write_P(led_usb_state & (1<<USB_LED_CAPS_LOCK) ? PSTR("CAPLK") : PSTR("     "), false); // Line 15
   oled_write_P(led_usb_state & (1<<USB_LED_SCROLL_LOCK) ? PSTR("SCRLK") : PSTR("     "), false); // Line 16
   oled_write_P(led_usb_state & (1<<USB_LED_SCROLL_LOCK) ? PSTR("SCRLK") : PSTR("     "), false); // Line 16