diff options
Diffstat (limited to 'keyboards/yampad/yampad.c')
| -rw-r--r-- | keyboards/yampad/yampad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/yampad/yampad.c b/keyboards/yampad/yampad.c index 764f48404..950a98721 100644 --- a/keyboards/yampad/yampad.c +++ b/keyboards/yampad/yampad.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 1 | ||
| 2 | /* Copyright 2019 | 2 | /* Copyright 2019 |
| 3 | * | 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify | 4 | * This program is free software: you can redistribute it and/or modify |
| @@ -16,13 +16,13 @@ | |||
| 16 | */ | 16 | */ |
| 17 | #include "yampad.h" | 17 | #include "yampad.h" |
| 18 | 18 | ||
| 19 | #if defined(OLED_DRIVER_ENABLE) | 19 | #if defined(OLED_ENABLE) |
| 20 | __attribute__((weak)) | 20 | __attribute__((weak)) |
| 21 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 21 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
| 22 | return OLED_ROTATION_270; // flips the display 270 degrees | 22 | return OLED_ROTATION_270; // flips the display 270 degrees |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | __attribute__((weak)) | 25 | __attribute__((weak)) |
| 26 | void oled_task_user(void) { | 26 | void oled_task_user(void) { |
| 27 | // Host Keyboard Layer Status | 27 | // Host Keyboard Layer Status |
| 28 | oled_write_P(PSTR("Layer"), false); | 28 | oled_write_P(PSTR("Layer"), false); |
