1
0
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:
Joakim Gebart 2015-05-27 17:23:37 +02:00
parent d4c1436de9
commit ec3679fd13

View File

@ -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;
}