diff options
author | QMK Bot <hello@qmk.fm> | 2021-02-16 17:46:35 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-02-16 17:46:35 +0000 |
commit | 65326f7d1fb057587ddd76bbe8d0ef64d7aee87c (patch) | |
tree | f010f093511d6fed1bc48cdbb8cbfb08a472f61c /keyboards/knobgoblin/knobgoblin.c | |
parent | e545cc0b47012d62260e4fe0bc894f7231aedd2b (diff) | |
parent | 9a2b0a5db15a48a0297a4b82665d462361261600 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/knobgoblin/knobgoblin.c')
-rw-r--r-- | keyboards/knobgoblin/knobgoblin.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/keyboards/knobgoblin/knobgoblin.c b/keyboards/knobgoblin/knobgoblin.c index 8905e770f1..2f5e02b138 100644 --- a/keyboards/knobgoblin/knobgoblin.c +++ b/keyboards/knobgoblin/knobgoblin.c @@ -74,22 +74,29 @@ static void render_goblin_logo(void) { __attribute__((weak)) void oled_task_user(void) { render_goblin_logo(); + + oled_set_cursor(0,11); switch (get_highest_layer(layer_state)) { case 0: - oled_set_cursor(0,11); - oled_advance_char(); - oled_write_P(PSTR("ONE\n"), false); + oled_write_P(PSTR(" ONE\n"), false); break; case 1: - oled_set_cursor(0,11); - oled_advance_char(); - oled_write_P(PSTR("TWO\n"), false); + oled_write_P(PSTR(" TWO\n"), false); break; case 2: - oled_set_cursor(0,11); oled_write_P(PSTR("THREE\n"), false); break; + case 3: + oled_write_P(PSTR(" FOUR\n"), false); + break; + case 4: + oled_write_P(PSTR(" FIVE\n"), false); + break; + case 5: + oled_write_P(PSTR(" SIX\n"), false); + break; + } } #endif |