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:
parent
873d4e26cb
commit
2c000abea1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue