Fixed pre-commit script issues.
This commit is contained in:
parent
69aa0b4edb
commit
4e0bd4a27f
@ -337,8 +337,7 @@ size_t common_hal_busio_uart_write(busio_uart_obj_t *self, const uint8_t *data,
|
||||
RUN_BACKGROUND_TASKS;
|
||||
Status = HAL_UART_GetState(&self->handle);
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
mp_raise_ValueError(translate("UART write error"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user