aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yampad/yampad.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yampad/yampad.c')
-rw-r--r--keyboards/yampad/yampad.c6
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))
21oled_rotation_t oled_init_user(oled_rotation_t rotation) { 21oled_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))
26void oled_task_user(void) { 26void 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);