summaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/frosty_flake/20130602
diff options
context:
space:
mode:
authortofurky <4065513+tofurky@users.noreply.github.com>2022-01-24 10:57:50 -0500
committerGitHub <noreply@github.com>2022-01-24 15:57:50 +0000
commit6cc4e32e61a275a624061fd9be643973476cad9c (patch)
tree34490f9caaf3912d618667a5b1807b7b2001aea6 /keyboards/bpiphany/frosty_flake/20130602
parent0c3c34e589e7b6cfe52b94be2c05197c3baaf444 (diff)
[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/frosty_flake/20130602')
-rw-r--r--keyboards/bpiphany/frosty_flake/20130602/20130602.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/bpiphany/frosty_flake/20130602/20130602.c b/keyboards/bpiphany/frosty_flake/20130602/20130602.c
index be4e1a3124..2c875d1a7f 100644
--- a/keyboards/bpiphany/frosty_flake/20130602/20130602.c
+++ b/keyboards/bpiphany/frosty_flake/20130602/20130602.c
@@ -1,9 +1,9 @@
#include "frosty_flake.h"
void keyboard_pre_init_kb() {
- setPinOutput(B7); // num lock
+ setPinOutput(B7); // caps lock
writePinHigh(B7);
- setPinOutput(C5); // caps lock
+ setPinOutput(C5); // num lock
writePinHigh(C7);
setPinOutput(C6); // scroll lock
writePinHigh(C6);
@@ -16,8 +16,8 @@ bool led_update_kb(led_t usb_led) {
if (!led_update_user(usb_led))
return true;
- writePin(C5, !usb_led.caps_lock);
- writePin(B7, !usb_led.num_lock);
+ writePin(C5, !usb_led.num_lock);
+ writePin(B7, !usb_led.caps_lock);
writePin(C6, !usb_led.scroll_lock);
return true;