diff options
author | Andrew Missel <dyindude@users.noreply.github.com> | 2022-01-08 15:22:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 13:22:14 -0800 |
commit | 4c080be8e8fd2d1a7a818022634b08c76ee92e40 (patch) | |
tree | 0984c4a100022ddc3d1faef2735d7e20b62eb153 /keyboards/bpiphany/frosty_flake/frosty_flake.c | |
parent | 31331e6d33a46d98a3a853bd7fef39f898977386 (diff) |
[Keyboard] Bathroom Epiphanies Frosty Flake rev 20130602 (#15365)
* add optional support for Frosty Flake rev 20130602
* update documentation with instructions on building for rev 20130602
* support revisions using subfolders instead of preprocessor directives
* rules.mk cleanup
Diffstat (limited to 'keyboards/bpiphany/frosty_flake/frosty_flake.c')
-rw-r--r-- | keyboards/bpiphany/frosty_flake/frosty_flake.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/keyboards/bpiphany/frosty_flake/frosty_flake.c b/keyboards/bpiphany/frosty_flake/frosty_flake.c deleted file mode 100644 index be4e1a3124..0000000000 --- a/keyboards/bpiphany/frosty_flake/frosty_flake.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "frosty_flake.h" - -void keyboard_pre_init_kb() { - setPinOutput(B7); // num lock - writePinHigh(B7); - setPinOutput(C5); // caps lock - writePinHigh(C7); - setPinOutput(C6); // scroll lock - writePinHigh(C6); - - keyboard_pre_init_user(); -} - -bool led_update_kb(led_t usb_led) { - // user requests no further processing - if (!led_update_user(usb_led)) - return true; - - writePin(C5, !usb_led.caps_lock); - writePin(B7, !usb_led.num_lock); - writePin(C6, !usb_led.scroll_lock); - - return true; -} |