summaryrefslogtreecommitdiff
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 0000000000..6c2680664c
--- /dev/null
+++ b/keyboards/cassette42/common/oled_helper.h
@@ -0,0 +1,22 @@
+#ifdef OLED_DRIVER_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 \ No newline at end of file