Update board_configuration.cpp set battery

This commit is contained in:
AlphaX 2024-06-30 22:11:34 -04:00 committed by GitHub
parent 40592313c0
commit 4e670340f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Gpio getWarningLedPin() {
void setBoardDefaultConfiguration() {
engineConfiguration->vbattDividerCoeff = 10.2f;
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
}
static Gpio OUTPUTS[] = {
@ -39,7 +39,7 @@ void setCustomVbatt() {
// 33k / 6.8k
engineConfiguration->vbattDividerCoeff = 10.2; // 5.835
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
}
/*