diff options
Diffstat (limited to 'keyboards/boston_meetup/2019/2019.c')
| -rw-r--r-- | keyboards/boston_meetup/2019/2019.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/boston_meetup/2019/2019.c b/keyboards/boston_meetup/2019/2019.c index 7428f1ccf..e558048f6 100644 --- a/keyboards/boston_meetup/2019/2019.c +++ b/keyboards/boston_meetup/2019/2019.c | |||
| @@ -31,13 +31,12 @@ led_config_t g_led_config = { { | |||
| 31 | #endif | 31 | #endif |
| 32 | 32 | ||
| 33 | #ifdef OLED_ENABLE | 33 | #ifdef OLED_ENABLE |
| 34 | __attribute__ ((weak)) | 34 | oled_rotation_t oled_init_kb(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
| 35 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | ||
| 36 | return OLED_ROTATION_180; | ||
| 37 | } | ||
| 38 | 35 | ||
| 39 | __attribute__ ((weak)) | 36 | bool oled_task_kb(void) { |
| 40 | void oled_task_user(void) { | 37 | if (!oled_task_user()) { |
| 38 | return false; | ||
| 39 | } | ||
| 41 | oled_write_P(PSTR("BOSTON MK LAYER"), false); | 40 | oled_write_P(PSTR("BOSTON MK LAYER"), false); |
| 42 | oled_advance_char(); | 41 | oled_advance_char(); |
| 43 | oled_write_char(get_highest_layer(layer_state) + 0x30, true); | 42 | oled_write_char(get_highest_layer(layer_state) + 0x30, true); |
| @@ -94,5 +93,6 @@ void oled_task_user(void) { | |||
| 94 | for (uint8_t y = 0; y < 8; y++) { | 93 | for (uint8_t y = 0; y < 8; y++) { |
| 95 | oled_write_pixel(95, 0 + y, true); | 94 | oled_write_pixel(95, 0 + y, true); |
| 96 | } | 95 | } |
| 96 | return false; | ||
| 97 | } | 97 | } |
| 98 | #endif | 98 | #endif |
