Src/OnChipDevices/ADC.c
@@ -48,7 +48,7 @@ MX_ADC_DeInit(); //temp_voltage = (float)Get_ADC_Value()/621; //(value/4096*3.3*2-3.5)/0.7 verfint_cal = *(__IO uint16_t *)(0X1FF80078); bat_volt = 3*(float)verfint_cal/adc_val; bat_volt = 3*(float)verfint_cal/adc_val+0.13; if(bat_volt>=3.0) { if(first)