nucleo-f401re: remove obsolete spi_divtable

This commit is contained in:
Koen Zandberg 2020-08-18 13:25:44 +02:00
parent b820bac363
commit f8041e8124
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -162,28 +162,8 @@ static const qdec_conf_t qdec_config[] = {
/**
* @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 @ 42000000Hz */
7, /* -> 164062Hz */
6, /* -> 328125Hz */
4, /* -> 1312500Hz */
2, /* -> 5250000Hz */
1 /* -> 10500000Hz */
},
{ /* for APB2 @ 84000000Hz */
7, /* -> 328125Hz */
7, /* -> 328125Hz */
5, /* -> 1312500Hz */
3, /* -> 5250000Hz */
2 /* -> 10500000Hz */
}
};
static const spi_conf_t spi_config[] = {
{
.dev = SPI1,