cpu/sam0_common/periph/spi: uncrustify

This commit is contained in:
Daniel Lockau 2019-11-22 14:44:42 +01:00
parent c5ad13cb18
commit 5ea4fcd9c8

View File

@ -73,7 +73,7 @@ void spi_init(spi_t bus)
/* reset all device configuration */ /* reset all device configuration */
dev(bus)->CTRLA.reg |= SERCOM_SPI_CTRLA_SWRST; dev(bus)->CTRLA.reg |= SERCOM_SPI_CTRLA_SWRST;
while ((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 */ /* configure base clock: using GLK GEN 0 */
#ifdef GCLK_CLKCTRL_GEN_GCLK0 #ifdef GCLK_CLKCTRL_GEN_GCLK0