only:nastyornot
This commit is contained in:
parent
a7d4961744
commit
ebf178e6ae
|
@ -94,7 +94,13 @@ static SPIDriver *spi;
|
||||||
|
|
||||||
static SPIConfig hipSpiCfg = {
|
static SPIConfig hipSpiCfg = {
|
||||||
.circular = false,
|
.circular = false,
|
||||||
|
#ifdef _CHIBIOS_RT_CONF_VER_6_1_
|
||||||
.end_cb = NULL,
|
.end_cb = NULL,
|
||||||
|
#else
|
||||||
|
.slave = false,
|
||||||
|
.data_cb = NULL,
|
||||||
|
.error_cb = NULL,
|
||||||
|
#endif
|
||||||
.ssport = NULL,
|
.ssport = NULL,
|
||||||
.sspad = 0,
|
.sspad = 0,
|
||||||
.cr1 =
|
.cr1 =
|
||||||
|
|
Loading…
Reference in New Issue