keychron_qmk_firmware/keyboards/cassette42/common/oled_helper.h
Xelus22 4e1c5887c5
[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs

* core changes

* update keyboards to new OLED

* updated users to new OLED

* update layouts to new OLED

* fixup docs

* drashna's suggestion

* fix up docs

* new keyboards with oled

* core split changes

* remaining keyboard files

* Fix The Helix keyboards oled options

* reflect develop

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
2021-08-24 16:28:26 +10:00

23 lines
490 B
C

#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