From ba8b4881ef45267603fd56e167769664b9edd566 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期日, 28 五月 2023 15:15:02 +0800 Subject: [PATCH] V1.62 10标签对25基站测试通过,香港L4测试没问题 --- Src/OnChipDevices/ADC.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Src/OnChipDevices/ADC.c b/Src/OnChipDevices/ADC.c index 9f9766d..9b34737 100644 --- a/Src/OnChipDevices/ADC.c +++ b/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) -- Gitblit v1.9.3