Skip to content

Commit 3236336

Browse files
committed
nrf5 spi_api - coding style enhancement
1 parent c1870af commit 3236336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5/spi_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ void spi_init(spi_t *obj,
305305
p_spi_info->initialized = true;
306306
p_spi_info->master = true;
307307
p_spi_info->flag.busy = false;
308-
#if DEVICE_SPI_ASYNCH
308+
#if DEVICE_SPI_ASYNCH
309309
p_spi_info->handler = 0;
310-
#endif
310+
#endif
311311
SPI_IDX(obj) = i;
312312
NVIC_SetVector(spi_handler_desc[i].IRQn, spi_handler_desc[i].vector);
313313
return;

0 commit comments

Comments
 (0)