cpu/sam0_common/periph/spi: uncrustify
This commit is contained in:
parent
c5ad13cb18
commit
5ea4fcd9c8
@ -73,7 +73,7 @@ void spi_init(spi_t bus)
|
||||
/* reset all device configuration */
|
||||
dev(bus)->CTRLA.reg |= SERCOM_SPI_CTRLA_SWRST;
|
||||
while ((dev(bus)->CTRLA.reg & SERCOM_SPI_CTRLA_SWRST) ||
|
||||
(dev(bus)->SYNCBUSY.reg & SERCOM_SPI_SYNCBUSY_SWRST));
|
||||
(dev(bus)->SYNCBUSY.reg & SERCOM_SPI_SYNCBUSY_SWRST)) {}
|
||||
|
||||
/* configure base clock: using GLK GEN 0 */
|
||||
#ifdef GCLK_CLKCTRL_GEN_GCLK0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user