diff options
author | Monksoffunk <monksoffunk@users.noreply.github.com> | 2021-03-15 04:55:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 06:55:59 +1100 |
commit | 45e6bb7add65d4fd733feb2ae1a059782d7f2cfc (patch) | |
tree | 3bc8d438205cad99ffbae78e0628e8fc53084958 /keyboards/cassette42/common/oled_helper.h | |
parent | 7b7689d30796c977b95197091c16e8bb97000101 (diff) |
Add Cassette42 (#10562)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/cassette42/common/oled_helper.h')
-rw-r--r-- | keyboards/cassette42/common/oled_helper.h | 22 |
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 |