This commit is contained in:
Matthew Kennedy 2024-01-06 21:26:39 -05:00 committed by rusefillc
parent 41177a5db7
commit 4f05b33b84
1 changed files with 4 additions and 4 deletions

View File

@ -280,8 +280,8 @@ static void setHellen64SdCardSpi() {
engineConfiguration->sdCardCsPin = Gpio::MM64_SPI3_CS;
}
static void setHellenSdCardSpi2() {
engineConfiguration->isSdCardEnabled = true;
static inline void setHellenSdCardSpi2() {
engineConfiguration->isSdCardEnabled = true;
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_2;
engineConfiguration->spi2mosiPin = H_SPI2_MOSI;
engineConfiguration->spi2misoPin = H_SPI2_MISO;
@ -298,12 +298,12 @@ static void setHellenSdCardSpi3() {
// *pullups* files CLT R211 IAT R213
#define HELLEN_DEFAULT_AT_PULLUP 4700
static void setDefaultHellenAtPullUps() {
static inline void setDefaultHellenAtPullUps() {
engineConfiguration->clt.config.bias_resistor = HELLEN_DEFAULT_AT_PULLUP;
engineConfiguration->iat.config.bias_resistor = HELLEN_DEFAULT_AT_PULLUP;
}
static void setHellenMMbaro() {
static inline void setHellenMMbaro() {
engineConfiguration->lps25BaroSensorScl = Gpio::B10;
engineConfiguration->lps25BaroSensorSda = Gpio::B11;
}