use correct divider (#1056)

This commit is contained in:
Matthew Kennedy 2019-12-12 05:45:10 -08:00 committed by rusefi
parent 1c2d1495ec
commit 199cf72f4a
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ static void setLedPins() {
}
static void setupVbatt() {
// 6.8k high side/10k low side = 1.6667 ratio divider
engineConfiguration->analogInputDividerCoefficient = 2.5f / 1.5f;
// 5.6k high side/10k low side = 1.56 ratio divider
engineConfiguration->analogInputDividerCoefficient = 1.56f;
// 47k high side/10k low side = 4.7
engineConfiguration->vbattDividerCoeff = (57.0f / 10.0f);