auto-sync

This commit is contained in:
rusEfi 2014-11-11 20:03:11 -06:00
parent 5d7ff15184
commit 584ee5d2f8
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/** /**
* @file voltage.c * @file voltage.cpp
* @brief * @brief
* *
* *
@ -17,7 +17,7 @@ extern engine_configuration_s *engineConfiguration;
float getVRef(void) { float getVRef(void) {
// return getAdcValue(ADC_CHANNEL_VREF); // return getAdcValue(ADC_CHANNEL_VREF);
return getVoltageDivided(ADC_CHANNEL_VREF); return getVoltageDivided((adc_channel_e)ADC_CHANNEL_VREF);
} }
float getVBatt(engine_configuration_s *engineConfiguration) { float getVBatt(engine_configuration_s *engineConfiguration) {