You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/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>
5 years ago
..
arm_atsam format code according to conventions [skip ci] 5 years ago
avr Move tmk_core/common/backlight to quantum/backlight (#6710) 6 years ago
chibios format code according to conventions [skip ci] 5 years ago
test Add customisable EEPROM driver selection (#7274) 5 years ago
action.c Compile error if ONESHOT_TIMEOUT defined but oneshot disabled (#8100) 5 years ago
action.h Fix bug in `do_code16()` (#6935) 6 years ago
action_code.h clang-format changes 6 years ago
action_layer.c Fix LAYER_STATE_8BIT compile issues (#7304) 6 years ago
action_layer.h Fix LAYER_STATE_8BIT compile issues (#7304) 6 years ago
action_macro.c clang-format changes 6 years ago
action_macro.h clang-format changes 6 years ago
action_tapping.c Implement and document TAPPING_FORCE_HOLD_PER_KEY (#7859) 5 years ago
action_tapping.h clang-format changes 6 years ago
action_util.c clang-format changes 6 years ago
action_util.h clang-format changes 6 years ago
bootloader.h clang-format changes 6 years ago
bootmagic.c ARM split - Add bootmagic/magic keycodes for setting handedness (#6545) 6 years ago
bootmagic.h ARM split - Add bootmagic/magic keycodes for setting handedness (#6545) 6 years ago
command.c Remove PJRC USB stack 5 years ago
command.h clang-format changes 6 years ago
debug.c clang-format changes 6 years ago
debug.h clang-format changes 6 years ago
eeconfig.c Add customisable EEPROM driver selection (#7274) 5 years ago
eeconfig.h VIA Configurator Refactor (#7268) 5 years ago
eeprom.h Add customisable EEPROM driver selection (#7274) 5 years ago
host.c Run clang-format manually to fix recently changed files 6 years ago
host.h New and improved lock LED callbacks (#7215) 6 years ago
host_driver.h clang-format changes 6 years ago
keyboard.c Move rgblight and backlight task to common location (#7733) 5 years ago
keyboard.h clang-format changes 6 years ago
keycode.h Add 4-character aliases for sendstring keycodes (#7409) 6 years ago
led.h Run clang-format manually to fix recently changed files 6 years ago
magic.c clang-format changes 6 years ago
magic.h MAGIC functionality, AG swap in default layout 9 years ago
matrix.h Move some common matrix code to a common location (#7699) 5 years ago
mousekey.c clang-format changes 6 years ago
mousekey.h clang-format changes 6 years ago
nodebug.h clang-format changes 6 years ago
print.c clang-format changes 6 years ago
print.h Remove mbed files (#7605) 5 years ago
progmem.h clang-format changes 6 years ago
raw_hid.h clang-format changes 6 years ago
report.c clang-format changes 6 years ago
report.h Use function for KEYCODE2 routines instead of macro. (#8101) 5 years ago
sendchar.h clang-format changes 6 years ago
sendchar_null.c clang-format changes 6 years ago
sendchar_uart.c clang-format changes 6 years ago
sleep_led.h clang-format changes 6 years ago
suspend.h clang-format changes 6 years ago
timer.h Fixing wrapping math logic for timer_expired functions (#6746) 6 years ago
uart.c clang-format changes 6 years ago
uart.h clang-format changes 6 years ago
util.c clang-format changes 6 years ago
util.h Wrap util.h functions in `extern "C"` (#6762) 6 years ago
virtser.h Added USB Virtual Serial support 9 years ago
wait.h Remove mbed files (#7605) 5 years ago