diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-04-25 13:15:48 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 13:15:48 +1000 |
| commit | d3bf3d3b1cfa9bd6d60ef605cf767e1fb1957c07 (patch) | |
| tree | 3d23fb37acf800823920a3ae24d45b0ec47c7afd /tmk_core/protocol | |
| parent | dbd65d01b656e0e43511da4b144dc3408f3046d1 (diff) | |
| download | qmk_firmware-d3bf3d3b1cfa9bd6d60ef605cf767e1fb1957c07.tar.gz qmk_firmware-d3bf3d3b1cfa9bd6d60ef605cf767e1fb1957c07.zip | |
Format code according to conventions (#12681)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'tmk_core/protocol')
| -rw-r--r-- | tmk_core/protocol/chibios/usb_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 0703cdc71..d04302aca 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c | |||
| @@ -953,8 +953,8 @@ int8_t sendchar(uint8_t c) { | |||
| 953 | */ | 953 | */ |
| 954 | 954 | ||
| 955 | const sysinterval_t timeout = timed_out ? TIME_IMMEDIATE : TIME_MS2I(5); | 955 | const sysinterval_t timeout = timed_out ? TIME_IMMEDIATE : TIME_MS2I(5); |
| 956 | const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout); | 956 | const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout); |
| 957 | timed_out = (result == 0); | 957 | timed_out = (result == 0); |
| 958 | return result; | 958 | return result; |
| 959 | } | 959 | } |
| 960 | 960 | ||
