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
parent
commit
381884fa9b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions
  1. +6
    -2
      keyboards/preonic/keymaps/dudeofawesome/keymap.c
  2. +4
    -0
      users/dudeofawesome/dudeofawesome.h

+ 6
- 2
keyboards/preonic/keymaps/dudeofawesome/keymap.c 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;
}


+ 4
- 0
users/dudeofawesome/dudeofawesome.h 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), \


Loading…
Cancel
Save