summaryrefslogtreecommitdiffstats
path: root/keyboards/25keys/cassette42/common/oled_helper.h
blob: d677c2a872f3d0a39f47089940090f5ef7e5867e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#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