docs & helping master
This commit is contained in:
parent
9bea740f77
commit
28608449b1
|
@ -86,6 +86,7 @@ static void setupVbatt() {
|
||||||
// set vbatt_divider 8.23
|
// set vbatt_divider 8.23
|
||||||
// R139=39k high side/R141=10k low side multiplied by above analogInputDividerCoefficient = 8.232f
|
// R139=39k high side/R141=10k low side multiplied by above analogInputDividerCoefficient = 8.232f
|
||||||
engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient;
|
engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * engineConfiguration->analogInputDividerCoefficient;
|
||||||
|
// PC1, pin #1 input +12 from Main Relay. Main Relay controlled by TLE8888
|
||||||
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
engineConfiguration->vbattAdcChannel = EFI_ADC_11;
|
||||||
|
|
||||||
engineConfiguration->adcVcc = 3.29f;
|
engineConfiguration->adcVcc = 3.29f;
|
||||||
|
|
|
@ -696,7 +696,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
|
||||||
* UNUSED_SIZE contants.
|
* UNUSED_SIZE contants.
|
||||||
*/
|
*/
|
||||||
#ifndef RAM_UNUSED_SIZE
|
#ifndef RAM_UNUSED_SIZE
|
||||||
#define RAM_UNUSED_SIZE 12200
|
#define RAM_UNUSED_SIZE 11700
|
||||||
#endif
|
#endif
|
||||||
#ifndef CCM_UNUSED_SIZE
|
#ifndef CCM_UNUSED_SIZE
|
||||||
#define CCM_UNUSED_SIZE 2900
|
#define CCM_UNUSED_SIZE 2900
|
||||||
|
@ -717,6 +717,6 @@ int getRusEfiVersion(void) {
|
||||||
if (initBootloader() != 0)
|
if (initBootloader() != 0)
|
||||||
return 123;
|
return 123;
|
||||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||||
return 20200511;
|
return 20200513;
|
||||||
}
|
}
|
||||||
#endif /* EFI_UNIT_TEST */
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
|
Loading…
Reference in New Issue