qmk/tmk_core/common
Ted Lin c3200aa8fc 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-10 04:50:45 +00:00
..
arm_atsam format code according to conventions [skip ci] 2020-01-24 02:15:29 +00:00
avr
chibios format code according to conventions [skip ci] 2020-02-01 09:46:34 +00:00
test Add customisable EEPROM driver selection (#7274) 2020-01-24 12:45:58 +11:00
action_code.h
action_layer.c
action_layer.h
action_macro.c
action_macro.h
action_tapping.c Implement and document TAPPING_FORCE_HOLD_PER_KEY (#7859) 2020-01-17 15:49:23 -05:00
action_tapping.h
action_util.c
action_util.h
action.c Compile error if ONESHOT_TIMEOUT defined but oneshot disabled (#8100) 2020-02-10 04:50:45 +00:00
action.h
bootloader.h
bootmagic.c
bootmagic.h
command.c Remove PJRC USB stack 2020-02-08 11:07:43 -08:00
command.h
debug.c
debug.h
eeconfig.c Add customisable EEPROM driver selection (#7274) 2020-01-24 12:45:58 +11:00
eeconfig.h VIA Configurator Refactor (#7268) 2020-01-03 12:52:00 -08:00
eeprom.h Add customisable EEPROM driver selection (#7274) 2020-01-24 12:45:58 +11:00
host_driver.h
host.c
host.h
keyboard.c Move rgblight and backlight task to common location (#7733) 2020-01-19 00:59:09 +00:00
keyboard.h
keycode.h
led.h
magic.c
magic.h
matrix.h Move some common matrix code to a common location (#7699) 2020-01-04 20:29:44 +00:00
mousekey.c
mousekey.h
nodebug.h
print.c
print.h
progmem.h
raw_hid.h
report.c
report.h Use function for KEYCODE2 routines instead of macro. (#8101) 2020-02-07 12:53:43 +11:00
sendchar_null.c
sendchar_uart.c
sendchar.h
sleep_led.h
suspend.h
timer.h
uart.c
uart.h
util.c
util.h
virtser.h
wait.h