Browse Source
Fix for issue #10386 - Can't compile preonic:dudeofawesome (#10557)
Co-authored-by: FilipParyz <paryz.1i12@op.p>
pull/10642/head
Filip Paryż
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
2 deletions
-
keyboards/preonic/keymaps/dudeofawesome/keymap.c
-
users/dudeofawesome/dudeofawesome.h
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
@ -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), \ |
|
|
|