mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
nucleo-g070rb: remove obsolete spi_divtable
This commit is contained in:
parent
2fad084504
commit
92e9a312ee
@ -82,28 +82,8 @@ static const uart_conf_t uart_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 64000000Hz */
|
||||
7, /* -> 250000Hz */
|
||||
6, /* -> 500000Hz */
|
||||
5, /* -> 1000000Hz */
|
||||
3, /* -> 4000000Hz */
|
||||
2 /* -> 8000000Hz */
|
||||
},
|
||||
{ /* for 64000000Hz */
|
||||
7, /* -> 250000Hz */
|
||||
6, /* -> 500000Hz */
|
||||
5, /* -> 1000000Hz */
|
||||
3, /* -> 4000000Hz */
|
||||
2 /* -> 8000000Hz */
|
||||
},
|
||||
};
|
||||
|
||||
static const spi_conf_t spi_config[] = {
|
||||
{
|
||||
.dev = SPI1,
|
||||
|
Loading…
Reference in New Issue
Block a user