mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
kinetis: spi_init_slave add missing callback assignment
This commit is contained in:
parent
d4c1436de9
commit
ec3679fd13
@ -832,6 +832,9 @@ int spi_init_slave(spi_t dev, spi_conf_t conf, char(*cb)(char data))
|
||||
|
||||
spi_dev->RSER = (uint32_t)0;
|
||||
|
||||
/* set callback */
|
||||
spi_config[dev].cb = cb;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user