Skip to content

Commit

Permalink
Fix for issue qmk#10386 - Can't compile preonic:dudeofawesome (qmk#10557
Browse files Browse the repository at this point in the history
)

Co-authored-by: FilipParyz <[email protected]>
  • Loading branch information
Filip Paryż and FilipParyz authored Oct 14, 2020
1 parent f706e1e commit 381884f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions keyboards/preonic/keymaps/dudeofawesome/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 4 additions & 0 deletions users/dudeofawesome/dudeofawesome.h
Original file line number Diff line number Diff line change
Expand Up @@ -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), \
Expand Down

0 comments on commit 381884f

Please sign in to comment.