修改训练蓝牙数据打印 66/3 66/head
authorCaisking <3449750381@qq.com>
Mon, 22 Apr 2024 11:49:37 +0000 (19:49 +0800)
committerCaisking <3449750381@qq.com>
Mon, 22 Apr 2024 11:49:37 +0000 (19:49 +0800)
code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingEnddataView.cpp
code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TraingCardPresenter.cpp

index 097cca4..b7f7151 100644 (file)
@@ -137,7 +137,7 @@ namespace OHOS
     void TraingEnddataView::DeInit()
     {
         container_->RemoveAll();
-        /*标签*/
+        /*单位label*/
         if (labeltype != nullptr)
         {
             delete labeltype;
@@ -163,7 +163,7 @@ namespace OHOS
             delete labelusteps;
             labelusteps = nullptr;
         }
-
+        /*数据label*/
         if (labelumile != nullptr)
         {
             delete labelumile;
index f85f9c1..c656205 100644 (file)
@@ -287,7 +287,7 @@ namespace OHOS
         uapi_set_screen_on_api();                                    // 亮屏检测\r
         NativeAbility::GetInstance().ChangeSlice(VIEW_TRAININGCRAD); // 切换Slice\r
         // 增加打印\r
-        PRINT("cmd->sportType[%d],cmd->controlmd[%d],cmd->sportTagType[%d],cmd->sportType[%d]\r\n", cmd->sportType, cmd->controlmd, cmd->sportTagType, cmd->sportType);\r
+        PRINT("cmd->sportType[%d],cmd->controlmd[%d],cmd->sportTagType[%d],cmd->sportTag[%d]\r\n", cmd->sportType, cmd->controlmd, cmd->sportTagType, cmd->sportTag);\r
 \r
         switch (cmd->sportType)\r
         {\r