Closed babarrett closed 6 years ago
Same issue with: has_oneshot_layer_timed_out same file.
I made a fix for the has_oneshot_mods_timed_out
as a part of this pull request #1217. But I didn't do anything about the has_oneshot_layer_timed_out
, because it wasn't part of the visualization code.
This appears to be fixed in #1405
When building, for example, qmk_firmware/keyboards/ergodox/keymaps/townk_osx When I set ONESHOT_TIMEOUT to 3000 in config.h everything compile OK. When I set ONESHOT_TIMEOUT to 0, indicating that I don't want my modifiers to cancel after a timeout, and the compile fails with:
Looks like an issue in qmk_firmware/tmk_core/common/action_util.c:
only defines has_oneshot_mods_timed_out() for values > 0, but has_oneshot_mods_timed_out() gets used in many places. We either need to define has_oneshot_mods_timed_out() when ONESHOT_TIMEOUT is zero or force the calls to has_oneshot_mods_timed_out() to not happen, throughout.