Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
3340ca46e8
2 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
||||||
#include "frosty_flake.h"
|
#include "frosty_flake.h"
|
||||||
|
|
||||||
void keyboard_pre_init_kb() {
|
void keyboard_pre_init_kb() {
|
||||||
setPinOutput(B7); // num lock
|
setPinOutput(B7); // caps lock
|
||||||
writePinHigh(B7);
|
writePinHigh(B7);
|
||||||
setPinOutput(C5); // caps lock
|
setPinOutput(C5); // num lock
|
||||||
writePinHigh(C7);
|
writePinHigh(C7);
|
||||||
setPinOutput(C6); // scroll lock
|
setPinOutput(C6); // scroll lock
|
||||||
writePinHigh(C6);
|
writePinHigh(C6);
|
||||||
|
@ -16,8 +16,8 @@ bool led_update_kb(led_t usb_led) {
|
||||||
if (!led_update_user(usb_led))
|
if (!led_update_user(usb_led))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
writePin(C5, !usb_led.caps_lock);
|
writePin(C5, !usb_led.num_lock);
|
||||||
writePin(B7, !usb_led.num_lock);
|
writePin(B7, !usb_led.caps_lock);
|
||||||
writePin(C6, !usb_led.scroll_lock);
|
writePin(C6, !usb_led.scroll_lock);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -16,8 +16,8 @@ bool led_update_kb(led_t usb_led) {
|
||||||
if (!led_update_user(usb_led))
|
if (!led_update_user(usb_led))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
writePin(B7, !usb_led.caps_lock);
|
writePin(C5, !usb_led.caps_lock);
|
||||||
writePin(C5, !usb_led.num_lock);
|
writePin(B7, !usb_led.num_lock);
|
||||||
writePin(C6, !usb_led.scroll_lock);
|
writePin(C6, !usb_led.scroll_lock);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue