Format code according to conventions (#12681)
Co-authored-by: QMK Bot <hello@qmk.fm>
This commit is contained in:
parent
dbd65d01b6
commit
d3bf3d3b1c
@ -953,8 +953,8 @@ int8_t sendchar(uint8_t c) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const sysinterval_t timeout = timed_out ? TIME_IMMEDIATE : TIME_MS2I(5);
|
const sysinterval_t timeout = timed_out ? TIME_IMMEDIATE : TIME_MS2I(5);
|
||||||
const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout);
|
const size_t result = chnWriteTimeout(&drivers.console_driver.driver, &c, 1, timeout);
|
||||||
timed_out = (result == 0);
|
timed_out = (result == 0);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user