diff options
author | Drashna Jaelre <drashna@live.com> | 2020-10-31 05:15:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 23:15:26 +1100 |
commit | a3f1defcd40f2d53b01ace2f520ff7901a44c714 (patch) | |
tree | 27720a567ca4d38ec5acce1d5e3feb43e44d21d5 /keyboards/idb/idb_60/idb_60.h | |
parent | fb579aae49fac9326600d5719ee9cc07463857cc (diff) | |
download | qmk_firmware-a3f1defcd40f2d53b01ace2f520ff7901a44c714.tar.gz qmk_firmware-a3f1defcd40f2d53b01ace2f520ff7901a44c714.zip |
[Keyboard] Fix function references IDB 60 (#10810)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Thorben <34752364+itspngu@users.noreply.github.com>
Diffstat (limited to 'keyboards/idb/idb_60/idb_60.h')
-rw-r--r-- | keyboards/idb/idb_60/idb_60.h | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/keyboards/idb/idb_60/idb_60.h b/keyboards/idb/idb_60/idb_60.h index 5d61ac464a..608c9ab7f1 100644 --- a/keyboards/idb/idb_60/idb_60.h +++ b/keyboards/idb/idb_60/idb_60.h @@ -2,24 +2,13 @@ #include "quantum.h" -inline void _idb_60_caps_led_on(void) { - writePinHigh(C5); -} - -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); -} +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); -#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,\ |