diff options
author | SjB <steve@sagacity.ca> | 2017-01-15 23:12:42 -0500 |
---|---|---|
committer | SjB <steve@sagacity.ca> | 2017-01-15 23:29:24 -0500 |
commit | 6f44ca7a59d60e20c1d35e8edc916571f5fe40ef (patch) | |
tree | 079ec44f9e6160870d39e800f9a48224334d0b0c /tmk_core/common/avr/suspend.c | |
parent | 6f448856151572f5bee329e68842cdda867fa66b (diff) |
oneshot timeout would only timeout after an event.
After setting a ONESHOT_TIMEOUT value, the oneshot layer state would
not expire without an event being triggered (key pressed). The reason
was that in the process_record function we would return priort to
execute the process_action function if it detected a NOEVENT cycle. The
process_action contained the codes to timeout the oneshot layer state.
The codes to clear the oneshot layer state have been move just in
front of where we check for the NOEVENT cycle in the process_record
function.
Diffstat (limited to 'tmk_core/common/avr/suspend.c')
0 files changed, 0 insertions, 0 deletions