auto-sync

This commit is contained in:
rusEfi 2016-07-26 01:04:34 -04:00
parent 8ab5cddf72
commit 9e4fb06230
1 changed files with 6 additions and 0 deletions

View File

@ -497,10 +497,16 @@ static void setVBattVoltage(float voltage) {
}
static void initMockVoltage(void) {
#if EFI_SIMULATOR || defined(__DOXYGEN__)
setCltVoltage(2);
#endif /* EFI_SIMULATOR */
addConsoleActionF("set_mock_clt_voltage", setCltVoltage);
#if EFI_SIMULATOR || defined(__DOXYGEN__)
setIatVoltage(2);
#endif /* EFI_SIMULATOR */
addConsoleActionF("set_mock_iat_voltage", setIatVoltage);
addConsoleActionF("set_mock_maf_voltage", setMafVoltage);