From 5781f4d79b04393204fb0cdca07d1e5837085a40 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Tue, 3 Dec 2024 10:20:04 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96debug=E7=95=8C=E9=9D=A2?= =?utf8?q?=E7=94=B5=E9=87=8F=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?utf8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E9=A1=B5=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?utf8?q?=E8=B0=83=E6=95=B4=E5=A4=9C=E9=97=B4=E5=BF=83=E7=8E=87=E6=A3=80?= =?utf8?q?=E6=B5=8B=E6=97=B6=E9=95=BF=EF=BC=8C=E8=B0=83=E6=95=B4=E6=B4=BB?= =?utf8?q?=E4=BD=93=E6=A3=80=E6=B5=8B=E9=98=88=E5=80=BC=EF=BC=8C=E6=94=B9?= =?utf8?q?=E5=96=84=E4=BD=A9=E6=88=B4=E4=B8=8D=E5=87=BA=E5=80=BC=E7=9A=84?= =?utf8?q?=E6=83=85=E5=86=B5(=E8=A1=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../debug_output_notification/debug_output_notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp index 420502312..23486361d 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp @@ -554,7 +554,7 @@ namespace OHOS << charge_stat <<", ["<(i) << "%\n"; + << static_cast(data[i].percent) << "%\n"; result += oss.str(); // result += std::to_string(i*10) + " min , " + std::to_string(data[i].voltage) + "V , "+ std::to_string(data[i].percent) + "%" + "\n"; -- 2.17.1