summaryrefslogtreecommitdiff
path: root/keyboards/zen/rev2/rev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/zen/rev2/rev2.c')
-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