Files
qmk_firmware/tmk_core/common
Ted Lin f3154a54fa Compile error if ONESHOT_TIMEOUT defined but oneshot disabled (#8100)
* Compile error if ONESHOT_TIMEOUT defined but oneshot disabled

When ONESHOT_TIMEOUT and NO_ACTION_ONESHOT are both defined, this code
fails to compile.

Wrap the one usage of ONESHOT_TIMEOUT that is inconsistent with the
rest so all usages are properly wrapped by a check of NO_ACTION_ONESHOT.

* Run file through clang-format

Co-authored-by: Ted M Lin <tedmlin@gmail.com>
2020-02-26 10:15:12 +09:00
..
2020-02-26 10:15:12 +09:00
2019-09-17 11:39:43 +09:00
2020-02-26 10:15:12 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-11-04 17:22:54 +09:00
2019-09-17 11:39:43 +09:00
2020-02-26 10:15:12 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2020-02-26 10:15:12 +09:00
2020-02-26 10:15:12 +09:00
2020-02-26 10:15:12 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2020-01-09 08:57:11 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2019-09-17 11:39:43 +09:00
2016-08-23 04:16:35 +00:00
2020-01-09 08:57:11 +09:00
2020-02-26 10:15:12 +09:00