aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cassette42/common/oled_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cassette42/common/oled_helper.h')
-rw-r--r--keyboards/cassette42/common/oled_helper.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/cassette42/common/oled_helper.h b/keyboards/cassette42/common/oled_helper.h
new file mode 100644
index 000000000..daeb7bfa4
--- /dev/null
+++ b/keyboards/cassette42/common/oled_helper.h
@@ -0,0 +1,22 @@
1#ifdef OLED_ENABLE
2
3void render_logo(void);
4
5# define RENDER_LOGO(a) render_logo(a)
6
7# ifdef RGBLIGHT_ENABLE
8void update_led_status(void);
9void render_led_status(void);
10# define UPDATE_LED_STATUS() update_led_status()
11# define RENDER_LED_STATUS(a) render_led_status(a)
12# else
13# define UPDATE_LED_STATUS()
14# define RENDER_LED_STATUS(a)
15# endif
16
17#else
18# define RENDER_LOGO(a)
19# define UPDATE_LED_STATUS()
20# define RENDER_LED_STATUS(a)
21
22#endif