Add Cassette42 (#10562)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
7b7689d307
commit
45e6bb7add
11 changed files with 610 additions and 0 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue