关闭电量信息打印 1332/1
authorpenglei <1624952103@qq.com>
Mon, 4 Nov 2024 06:18:35 +0000 (14:18 +0800)
committerpenglei <1624952103@qq.com>
Mon, 4 Nov 2024 06:18:35 +0000 (14:18 +0800)
code/sdk/application/battery/service/battery_driver.cpp

index f846f6c..efeb2e7 100644 (file)
@@ -583,7 +583,7 @@ static bool adc_get_sample_result(float *voltage, uint8_t channel)
         *voltage = adc_trans_systick_to_battery_voltage(stick);
         get_avg_voltage(voltage);
         cur_percent = battery_get_percent_by_voltage(*voltage);
-        PRINT("cur_percent : %d , history_percent : %d \n",cur_percent,history_percent);
+        // PRINT("cur_percent : %d , history_percent : %d \n",cur_percent,history_percent);
     }
     else if (channel == 0){
         *voltage = adc_trans_systick_to_battery_ntc(stick);