mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 23:12:45 +01:00
lsn50: remove obsolete spi_divtable
This commit is contained in:
parent
023eec7936
commit
e61d620aec
@ -95,28 +95,8 @@ static const uart_conf_t uart_config[] = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name SPI configuration
|
* @name SPI configuration
|
||||||
*
|
|
||||||
* @note The spi_divtable is auto-generated from
|
|
||||||
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
|
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
static const uint8_t spi_divtable[2][5] = {
|
|
||||||
{ /* for APB1 @ 32000000Hz */
|
|
||||||
7, /* -> 125000Hz */
|
|
||||||
5, /* -> 500000Hz */
|
|
||||||
4, /* -> 1000000Hz */
|
|
||||||
2, /* -> 4000000Hz */
|
|
||||||
1 /* -> 8000000Hz */
|
|
||||||
},
|
|
||||||
{ /* for APB2 @ 32000000Hz */
|
|
||||||
7, /* -> 125000Hz */
|
|
||||||
5, /* -> 500000Hz */
|
|
||||||
4, /* -> 1000000Hz */
|
|
||||||
2, /* -> 4000000Hz */
|
|
||||||
1 /* -> 8000000Hz */
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
static const spi_conf_t spi_config[] = {
|
static const spi_conf_t spi_config[] = {
|
||||||
{
|
{
|
||||||
.dev = SPI1, /* connected to SX1276 */
|
.dev = SPI1, /* connected to SX1276 */
|
||||||
|
Loading…
Reference in New Issue
Block a user