getreuer / qmk-keymap

My keymap & reusable QMK gems
Apache License 2.0
301 stars 45 forks source link

Achordion preprocessor for TAP_CODE_DELAY #8

Closed filterpaper closed 2 years ago

filterpaper commented 2 years ago

Wrapping tap delay with pre-processors should cover the use-case where none is set:

#if TAP_CODE_DELAY > 0
      wait_ms(TAP_CODE_DELAY);
#endif

https://github.com/getreuer/qmk-keymap/blob/8203f4fb25ba329fc23f4c17d0f7ca64d7fad826/features/achordion.c#L114

getreuer commented 2 years ago

Thanks for catching this!