1
0
Fork 0
forked from forks/qmk_firmware

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 #ifdef BACKLIGHT_ENABLE
backlight_step(); backlight_step();
#endif #endif
PORTE &= ~(1<<6); #ifdef __AVR__
writePinLow(E6);
#endif
} else { } else {
unregister_code(KC_RSFT); unregister_code(KC_RSFT);
PORTE |= (1<<6); #ifdef __AVR__
writePinHigh(E6);
#endif
} }
return false; return false;
} }

View file

@ -7,6 +7,10 @@
#define TAPPING_TOGGLE 2 #define TAPPING_TOGGLE 2
#ifdef AUDIO_ENABLE #ifdef AUDIO_ENABLE
#ifdef WORKMAN_SOUND
#undef WORKMAN_SOUND
#endif
#define WORKMAN_SOUND \ #define WORKMAN_SOUND \
E__NOTE(_GS7), \ E__NOTE(_GS7), \
ED_NOTE(_E7), \ ED_NOTE(_E7), \