[Keyboard] Fix function references IDB 60 (#10810)

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Thorben <34752364+itspngu@users.noreply.github.com>
This commit is contained in:
Drashna Jaelre 2020-10-31 05:15:26 -07:00 committed by GitHub
parent fb579aae49
commit a3f1defcd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 17 deletions

View file

@ -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);
}

View file

@ -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,\