diff options
author | fauxpark <fauxpark@gmail.com> | 2019-10-21 16:38:22 +1100 |
---|---|---|
committer | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-10-20 22:38:22 -0700 |
commit | 97b8ade1aa7dd96027d10dc92da2a2ccbde61b8c (patch) | |
tree | 226082aedeb66c8cb90c4ea4a39fef1b4e360a5d /keyboards/preonic/keymaps/default/keymap.c | |
parent | 1533483bb2d1278d2c2528cf289392aa2a4f15e0 (diff) |
[Keyboard] Use GPIO macros for E6 LED in Planck and Preonic default keymaps (#7098)
Diffstat (limited to 'keyboards/preonic/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/preonic/keymaps/default/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 49cc64dc95..d8bb2d5f75 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c @@ -213,12 +213,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { backlight_step(); #endif #ifdef __AVR__ - PORTE &= ~(1<<6); + writePinLow(E6); #endif } else { unregister_code(KC_RSFT); #ifdef __AVR__ - PORTE |= (1<<6); + writePinHigh(E6); #endif } return false; |