Update board_configuration.cpp set battery
This commit is contained in:
parent
40592313c0
commit
4e670340f7
|
@ -14,7 +14,7 @@ Gpio getWarningLedPin() {
|
||||||
|
|
||||||
void setBoardDefaultConfiguration() {
|
void setBoardDefaultConfiguration() {
|
||||||
engineConfiguration->vbattDividerCoeff = 10.2f;
|
engineConfiguration->vbattDividerCoeff = 10.2f;
|
||||||
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
|
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Gpio OUTPUTS[] = {
|
static Gpio OUTPUTS[] = {
|
||||||
|
@ -39,7 +39,7 @@ void setCustomVbatt() {
|
||||||
// 33k / 6.8k
|
// 33k / 6.8k
|
||||||
engineConfiguration->vbattDividerCoeff = 10.2; // 5.835
|
engineConfiguration->vbattDividerCoeff = 10.2; // 5.835
|
||||||
|
|
||||||
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
|
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue