Fix for issue #10386 - Can't compile preonic:dudeofawesome (#10557)

Co-authored-by: FilipParyz <paryz.1i12@op.p>
This commit is contained in:
Filip ParyżandFilipParyz authored and GitHub committed 2020-10-14 13:41:34 +11:00
1 parent f706e1e80e
commit 381884fa9b
2 files changed
+10 -2

No files matched your search

@@ -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;
}
+4
View File
@@ -7,6 +7,10 @@
#define TAPPING_TOGGLE 2
#ifdef AUDIO_ENABLE
#ifdef WORKMAN_SOUND
#undef WORKMAN_SOUND
#endif
#define WORKMAN_SOUND \
E__NOTE(_GS7), \
ED_NOTE(_E7), \