aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorGravatar Filip Paryż <paryz.1i12@op.pl>2020-10-14 04:41:34 +0200
committerGravatar GitHub <noreply@github.com>2020-10-14 13:41:34 +1100
commit381884fa9be79e4538c8accc2043654b47499f44 (patch)
tree4c6c6e0c47dc12e7f91c56fffabc28fd23e4139a /keyboards
parentf706e1e80e579ca799644d0230c38aab893481e1 (diff)
downloadqmk_firmware-381884fa9be79e4538c8accc2043654b47499f44.tar.gz
Fix for issue #10386 - Can't compile preonic:dudeofawesome (#10557)
Co-authored-by: FilipParyz <paryz.1i12@op.p>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/preonic/keymaps/dudeofawesome/keymap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/preonic/keymaps/dudeofawesome/keymap.c b/keyboards/preonic/keymaps/dudeofawesome/keymap.c
index 3d1cec74b..2d2a252b2 100644
--- a/keyboards/preonic/keymaps/dudeofawesome/keymap.c
+++ b/keyboards/preonic/keymaps/dudeofawesome/keymap.c
@@ -256,10 +256,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef BACKLIGHT_ENABLE
backlight_step();
#endif
- PORTE &= ~(1<<6);
+ #ifdef __AVR__
+ writePinLow(E6);
+ #endif
} else {
unregister_code(KC_RSFT);
- PORTE |= (1<<6);
+ #ifdef __AVR__
+ writePinHigh(E6);
+ #endif
}
return false;
}