From 45e6bb7add65d4fd733feb2ae1a059782d7f2cfc Mon Sep 17 00:00:00 2001 From: Monksoffunk Date: Mon, 15 Mar 2021 04:55:59 +0900 Subject: Add Cassette42 (#10562) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- keyboards/cassette42/common/oled_helper.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 keyboards/cassette42/common/oled_helper.h (limited to 'keyboards/cassette42/common/oled_helper.h') 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 -- cgit v1.2.3