summaryrefslogtreecommitdiffstats
path: root/keyboards/25keys/cassette42/common/oled_helper.h
blob: daeb7bfa4d5f80bdd25b7909568cb5268eaa8269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef OLED_ENABLE

void render_logo(void);

#    define RENDER_LOGO(a) render_logo(a)

#    ifdef RGBLIGHT_ENABLE
void update_led_status(void);
void render_led_status(void);
#        define UPDATE_LED_STATUS() update_led_status()
#        define RENDER_LED_STATUS(a) render_led_status(a)
#    else
#        define UPDATE_LED_STATUS()
#        define RENDER_LED_STATUS(a)
#    endif

#else
#    define RENDER_LOGO(a)
#    define UPDATE_LED_STATUS()
#    define RENDER_LED_STATUS(a)

#endif