Fix mre vbatt (#1218)
* Revert "vbatt MRE happiness"
This reverts commit ca1d44ae2c
.
* update comments
This commit is contained in:
parent
d3482327f3
commit
6f5a9760ed
|
@ -65,12 +65,12 @@ static void setupVbatt() {
|
||||||
engineConfiguration->analogInputDividerCoefficient = 2.5f / 1.5f;
|
engineConfiguration->analogInputDividerCoefficient = 2.5f / 1.5f;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 6.8k high side/10k low side = 1.6667 ratio divider
|
// 6.8k high side/10k low side = 1.68 ratio divider
|
||||||
engineConfiguration->analogInputDividerCoefficient = 16.8f / 10.0f;
|
engineConfiguration->analogInputDividerCoefficient = 16.8f / 10.0f;
|
||||||
|
|
||||||
// set vbatt_divider 8.16
|
// set vbatt_divider 8.23
|
||||||
// R139=39k high side/R141=10k low side multiplied by above analogInputDividerCoefficient = 8.166666f
|
// R139=39k high side/R141=10k low side multiplied by above analogInputDividerCoefficient = 8.232f
|
||||||
engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f);
|
engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient;
|
||||||
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
||||||
|
|
||||||
engineConfiguration->adcVcc = 3.29f;
|
engineConfiguration->adcVcc = 3.29f;
|
||||||
|
|
Loading…
Reference in New Issue