summaryrefslogtreecommitdiffstats
path: root/keyboards/25keys/cassette42/common/oled_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/25keys/cassette42/common/oled_helper.h')
-rw-r--r--keyboards/25keys/cassette42/common/oled_helper.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/25keys/cassette42/common/oled_helper.h b/keyboards/25keys/cassette42/common/oled_helper.h
new file mode 100644
index 0000000000..daeb7bfa4d
--- /dev/null
+++ b/keyboards/25keys/cassette42/common/oled_helper.h
@@ -0,0 +1,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