Add Cassette42 (#10562)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
22
keyboards/cassette42/common/oled_helper.h
Normal file
22
keyboards/cassette42/common/oled_helper.h
Normal file
@@ -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
|
Reference in New Issue
Block a user