Skip to content

Commit

Permalink
Format code according to conventions (qmk#12681)
Browse files Browse the repository at this point in the history
Co-authored-by: QMK Bot <[email protected]>
  • Loading branch information
github-actions[bot] and qmk-bot authored Apr 25, 2021
1 parent dbd65d0 commit d3bf3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmk_core/protocol/chibios/usb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,8 @@ int8_t sendchar(uint8_t c) {
*/

const sysinterval_t timeout = timed_out ? TIME_IMMEDIATE : TIME_MS2I(5);
const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout);
timed_out = (result == 0);
const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout);
timed_out = (result == 0);
return result;
}

Expand Down

0 comments on commit d3bf3d3

Please sign in to comment.