[Keyboard] Fix function references IDB 60 (#10810)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Thorben <34752364+itspngu@users.noreply.github.com>master
parent
fb579aae49
commit
a3f1defcd4
|
@ -15,3 +15,19 @@ void led_set_kb(uint8_t usb_led) {
|
|||
|
||||
led_set_user(usb_led);
|
||||
}
|
||||
|
||||
inline void _idb_60_caps_led_on(void) {
|
||||
writePinLow(C5);
|
||||
}
|
||||
|
||||
inline void _idb_60_fn_led_on(void) {
|
||||
writePinLow(C4);
|
||||
}
|
||||
|
||||
inline void _idb_60_caps_led_off(void) {
|
||||
writePinHigh(C5);
|
||||
}
|
||||
|
||||
inline void _idb_60_fn_led_off(void) {
|
||||
writePinHigh(C4);
|
||||
}
|
||||
|
|
|
@ -2,24 +2,13 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
inline void _idb_60_caps_led_on(void) {
|
||||
writePinHigh(C5);
|
||||
}
|
||||
void _idb_60_caps_led_on(void);
|
||||
void _idb_60_fn_led_on(void);
|
||||
void _idb_60_caps_led_off(void);
|
||||
void _idb_60_fn_led_off(void);
|
||||
|
||||
inline void _idb_60_fn_led_on(void) {
|
||||
writePinHigh(C4);
|
||||
}
|
||||
|
||||
inline void _idb_60_caps_led_off(void) {
|
||||
writePinLow(C5);
|
||||
}
|
||||
|
||||
inline void _idb_60_fn_led_off(void) {
|
||||
writePinLow(C4);
|
||||
}
|
||||
|
||||
#define _idb_60_esc_led_on _idb_60_fn_led_on
|
||||
#define _idb_60_esc_led_off _idb_60_fn_led_off
|
||||
#define _idb_60_esc_led_on() _idb_60_fn_led_on()
|
||||
#define _idb_60_esc_led_off() _idb_60_fn_led_off()
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07,\
|
||||
|
|
Loading…
Reference in New Issue