only:nastyornot
This commit is contained in:
rusefillc 2024-06-17 15:53:23 -04:00
parent a7d4961744
commit ebf178e6ae
1 changed files with 6 additions and 0 deletions

View File

@ -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 =