We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd45b6 commit 0526794Copy full SHA for 0526794
ports/nrf/common-hal/busio/UART.c
@@ -266,7 +266,7 @@ bool common_hal_busio_uart_deinited(busio_uart_obj_t *self) {
266
}
267
268
void common_hal_busio_uart_deinit(busio_uart_obj_t *self) {
269
- volatile uint32_t *power_cycle = (void *)(self->uarte->p_reg) + 0xFFC;
+ volatile uint32_t *power_cycle = (void*)(self->uarte->p_reg) + 0xFFC;
270
if (!common_hal_busio_uart_deinited(self)) {
271
nrfx_uarte_rx_abort(self->uarte);
272
nrfx_uarte_tx_abort(self->uarte);
0 commit comments