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ż 2020-10-14 04:41:34 +02:00 committed by GitHub
parent f706e1e80e
commit 381884fa9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -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;
}

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), \