From 31642e05d2ba681828aefc917fcb4a1b91bc8317 Mon Sep 17 00:00:00 2001 From: payton Date: Fri, 17 Nov 2023 18:46:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E6=B8=A9=E5=BA=A6=E6=B0=B4?= =?UTF-8?q?=E5=8D=B0=E5=BC=80=E6=9C=BA=E6=97=B6=E6=97=A0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/sf_app/code/source/battery/sf_battery.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/application/source/sf_app/code/source/battery/sf_battery.c b/code/application/source/sf_app/code/source/battery/sf_battery.c index 0e63359b7..a45d7f510 100755 --- a/code/application/source/sf_app/code/source/battery/sf_battery.c +++ b/code/application/source/sf_app/code/source/battery/sf_battery.c @@ -745,9 +745,10 @@ signed int sf_battery_value_fast_get(void) } - cTemper = sf_adc2Temperature((UINT16)TemperAdc, 1); - fTemper = sf_celsius_change_to_fahrenheit(cTemper); - + // cTemper = sf_adc2Temperature((UINT16)TemperAdc, 1); + // fTemper = sf_celsius_change_to_fahrenheit(cTemper); + sf_battery_level_update(); + sf_temper_update(); return ret; }