diff options
| author | tofurky <4065513+tofurky@users.noreply.github.com> | 2022-01-24 10:57:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-24 15:57:50 +0000 |
| commit | 6cc4e32e61a275a624061fd9be643973476cad9c (patch) | |
| tree | 34490f9caaf3912d618667a5b1807b7b2001aea6 /keyboards/bpiphany | |
| parent | 0c3c34e589e7b6cfe52b94be2c05197c3baaf444 (diff) | |
| download | qmk_firmware-6cc4e32e61a275a624061fd9be643973476cad9c.tar.gz qmk_firmware-6cc4e32e61a275a624061fd9be643973476cad9c.zip | |
[Keyboard] Fix frosty_flake LED pin assignment (#16000)
4c080be seemed to swap the LED pins for the 20130602 and 20140521
variants. 20140521 is fine now, 20130602 untested but per the
schematics at https://deskthority.net/wiki/Costar_replacement_controllers
it seems correct.
Diffstat (limited to 'keyboards/bpiphany')
| -rw-r--r-- | keyboards/bpiphany/frosty_flake/20130602/20130602.c | 8 | ||||
| -rw-r--r-- | keyboards/bpiphany/frosty_flake/20140521/20140521.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/bpiphany/frosty_flake/20130602/20130602.c b/keyboards/bpiphany/frosty_flake/20130602/20130602.c index be4e1a312..2c875d1a7 100644 --- a/keyboards/bpiphany/frosty_flake/20130602/20130602.c +++ b/keyboards/bpiphany/frosty_flake/20130602/20130602.c | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | #include "frosty_flake.h" | 1 | #include "frosty_flake.h" |
| 2 | 2 | ||
| 3 | void keyboard_pre_init_kb() { | 3 | void keyboard_pre_init_kb() { |
| 4 | setPinOutput(B7); // num lock | 4 | setPinOutput(B7); // caps lock |
| 5 | writePinHigh(B7); | 5 | writePinHigh(B7); |
| 6 | setPinOutput(C5); // caps lock | 6 | setPinOutput(C5); // num lock |
| 7 | writePinHigh(C7); | 7 | writePinHigh(C7); |
| 8 | setPinOutput(C6); // scroll lock | 8 | setPinOutput(C6); // scroll lock |
| 9 | writePinHigh(C6); | 9 | writePinHigh(C6); |
| @@ -16,8 +16,8 @@ bool led_update_kb(led_t usb_led) { | |||
| 16 | if (!led_update_user(usb_led)) | 16 | if (!led_update_user(usb_led)) |
| 17 | return true; | 17 | return true; |
| 18 | 18 | ||
| 19 | writePin(C5, !usb_led.caps_lock); | 19 | writePin(C5, !usb_led.num_lock); |
| 20 | writePin(B7, !usb_led.num_lock); | 20 | writePin(B7, !usb_led.caps_lock); |
| 21 | writePin(C6, !usb_led.scroll_lock); | 21 | writePin(C6, !usb_led.scroll_lock); |
| 22 | 22 | ||
| 23 | return true; | 23 | return true; |
diff --git a/keyboards/bpiphany/frosty_flake/20140521/20140521.c b/keyboards/bpiphany/frosty_flake/20140521/20140521.c index cd425cffa..be4e1a312 100644 --- a/keyboards/bpiphany/frosty_flake/20140521/20140521.c +++ b/keyboards/bpiphany/frosty_flake/20140521/20140521.c | |||
| @@ -16,8 +16,8 @@ bool led_update_kb(led_t usb_led) { | |||
| 16 | if (!led_update_user(usb_led)) | 16 | if (!led_update_user(usb_led)) |
| 17 | return true; | 17 | return true; |
| 18 | 18 | ||
| 19 | writePin(B7, !usb_led.caps_lock); | 19 | writePin(C5, !usb_led.caps_lock); |
| 20 | writePin(C5, !usb_led.num_lock); | 20 | writePin(B7, !usb_led.num_lock); |
| 21 | writePin(C6, !usb_led.scroll_lock); | 21 | writePin(C6, !usb_led.scroll_lock); |
| 22 | 22 | ||
| 23 | return true; | 23 | return true; |
