diff options
Diffstat (limited to 'users/ninjonas/oled.c')
-rw-r--r-- | users/ninjonas/oled.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/users/ninjonas/oled.c b/users/ninjonas/oled.c index a3514f54f..1d88c3057 100644 --- a/users/ninjonas/oled.c +++ b/users/ninjonas/oled.c | |||
@@ -2,7 +2,7 @@ | |||
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include "ninjonas.h" | 3 | #include "ninjonas.h" |
4 | 4 | ||
5 | #if defined(OLED_DRIVER_ENABLE) & !defined(KEYBOARD_kyria_rev1) | 5 | #if defined(OLED_ENABLE) & !defined(KEYBOARD_kyria_rev1) |
6 | 6 | ||
7 | static uint32_t oled_timer = 0; | 7 | static uint32_t oled_timer = 0; |
8 | 8 | ||
@@ -49,16 +49,16 @@ void render_layer_state(void) { | |||
49 | bool adjust = layer_state_is(_ADJUST); | 49 | bool adjust = layer_state_is(_ADJUST); |
50 | bool numpad = layer_state_is(_NUMPAD); | 50 | bool numpad = layer_state_is(_NUMPAD); |
51 | 51 | ||
52 | if(lower){ | 52 | if(lower){ |
53 | oled_write_P(PSTR(" Lower "), true); | 53 | oled_write_P(PSTR(" Lower "), true); |
54 | } else if(raise){ | 54 | } else if(raise){ |
55 | oled_write_P(PSTR(" Raise "), true); | 55 | oled_write_P(PSTR(" Raise "), true); |
56 | } else if(adjust){ | 56 | } else if(adjust){ |
57 | oled_write_P(PSTR(" Adjust "), true); | 57 | oled_write_P(PSTR(" Adjust "), true); |
58 | } else if(numpad) { | 58 | } else if(numpad) { |
59 | oled_write_P(PSTR(" Numpad "), true); | 59 | oled_write_P(PSTR(" Numpad "), true); |
60 | } else { | 60 | } else { |
61 | oled_write_P(PSTR(" Default"), false); | 61 | oled_write_P(PSTR(" Default"), false); |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||