Tabs to spaces. Again.
This commit is contained in:
parent
b4554b5806
commit
22ceb08b49
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ void spi_set_frequency_div(uint8_t bus, uint32_t divider);
|
||||||
inline uint32_t spi_get_frequency_hz(uint8_t bus)
|
inline uint32_t spi_get_frequency_hz(uint8_t bus)
|
||||||
{
|
{
|
||||||
return APB_CLK_FREQ /
|
return APB_CLK_FREQ /
|
||||||
(FIELD2VAL(SPI_CLOCK_DIV_PRE, SPI(bus).CLOCK) + 1) /
|
(FIELD2VAL(SPI_CLOCK_DIV_PRE, SPI(bus).CLOCK) + 1) /
|
||||||
(FIELD2VAL(SPI_CLOCK_COUNT_NUM, SPI(bus).CLOCK) + 1);
|
(FIELD2VAL(SPI_CLOCK_COUNT_NUM, SPI(bus).CLOCK) + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue