summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-04-22 10:14:57 -0500
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-22 08:14:57 -0700
commit4ecaa25f3e9ae1bd1b61bab52f6a46cbaf512ae8 (patch)
treecfa8a2bfbf2c06cbd3bcde6449990359040bf477
parent81d8e6ef3e4d69dba8e9ba40db525ab4181ab3e3 (diff)
forgot to update the define usage when 90 degree rotation was moved to a runtime switch (#5676)
-rw-r--r--keyboards/zen/rev2/rev2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/zen/rev2/rev2.c b/keyboards/zen/rev2/rev2.c
index 7bd8efbdd0..3f4a92c63d 100644
--- a/keyboards/zen/rev2/rev2.c
+++ b/keyboards/zen/rev2/rev2.c
@@ -41,7 +41,7 @@ void render_status(void) {
// Host Keyboard LED Status
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_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