Revert "formatting" (from #8089)
This reverts commit 4bb475b930d4237f09f26ac3a6f841fbd690d026.
This commit is contained in:
parent
4dd45b6dc6
commit
05267948b4
@ -266,7 +266,7 @@ bool common_hal_busio_uart_deinited(busio_uart_obj_t *self) {
|
||||
}
|
||||
|
||||
void common_hal_busio_uart_deinit(busio_uart_obj_t *self) {
|
||||
volatile uint32_t *power_cycle = (void *)(self->uarte->p_reg) + 0xFFC;
|
||||
volatile uint32_t *power_cycle = (void*)(self->uarte->p_reg) + 0xFFC;
|
||||
if (!common_hal_busio_uart_deinited(self)) {
|
||||
nrfx_uarte_rx_abort(self->uarte);
|
||||
nrfx_uarte_tx_abort(self->uarte);
|
||||
|
Loading…
x
Reference in New Issue
Block a user