[Keyboard] Use GPIO macros for E6 LED in Planck and Preonic default keymaps (#7098)
This commit is contained in:
1 parent
1533483bb2
commit
97b8ade1aa
5 files changed
+11
-11
No files matched your search
@@ -209,12 +209,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
backlight_step();
|
||||
#endif
|
||||
#ifdef KEYBOARD_planck_rev5
|
||||
PORTE &= ~(1<<6);
|
||||
writePinLow(E6);
|
||||
#endif
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
#ifdef KEYBOARD_planck_rev5
|
||||
PORTE |= (1<<6);
|
||||
writePinHigh(E6);
|
||||
#endif
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user