2022-03-30 16:18:18 -07:00
|
|
|
#include "pch.h"
|
|
|
|
|
|
|
|
void setSdCardConfigurationOverrides() {
|
|
|
|
}
|
|
|
|
|
|
|
|
void setBoardConfigOverrides() {
|
|
|
|
// No divider, just direct connected analog inputs (they're all internal, so why divide?)
|
|
|
|
engineConfiguration->analogInputDividerCoefficient = 1;
|
|
|
|
|
|
|
|
// 10k/100k divider
|
|
|
|
engineConfiguration->vbattDividerCoeff = 11;
|
|
|
|
engineConfiguration->vbattAdcChannel = EFI_ADC_4;
|
|
|
|
|
2022-04-28 14:32:39 -07:00
|
|
|
engineConfiguration->canTxPin = Gpio::A12;
|
|
|
|
engineConfiguration->canRxPin = Gpio::A11;
|
2022-03-30 16:18:18 -07:00
|
|
|
}
|