Small voltage divider coeff update for core8 (#4003)

* Launch fual and spark cut issue

* moved launch cuts to limp_manager

* Applied recomendations

* Auto-generated configs and docs

* Added recomendations

* Auto-generated configs and docs

* small fix to voltage divider coeff on core8

Co-authored-by: GitHub build-firmware Action <action@github.com>
Co-authored-by: Benas <bbrazdziunas@gavea.co.uk>
This commit is contained in:
Benas Brazdziunas 2022-03-15 11:59:45 +00:00 committed by GitHub
parent 873d4e26cb
commit 2c000abea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -71,10 +71,10 @@ static void setEtbConfig() {
static void setupVbatt() {
// 5.6k high side/10k low side = 1.56 ratio divider
engineConfiguration->analogInputDividerCoefficient = 1.47f;
// 6.34k high side/1k low side = 9.2
engineConfiguration->vbattDividerCoeff = (6.34f / 1.0f);
engineConfiguration->analogInputDividerCoefficient = 1.56f;
// 6.34k high side/ 1k low side
engineConfiguration->vbattDividerCoeff = (6.34 + 1) / 1;
// Battery sense on PA7
engineConfiguration->vbattAdcChannel = EFI_ADC_0;