gengxin
author@CHENG <2393524978@qq.com>
Mon, 8 Jan 2024 11:36:44 +0000 (19:36 +0800)
committer@CHENG <2393524978@qq.com>
Mon, 8 Jan 2024 11:36:44 +0000 (19:36 +0800)
2.sdk/sdk/gui/lv_watch/lv_apps/custom_function/heng_ai_http_protocol.c
2.sdk/sdk/gui/lv_watch/lv_apps/primary_menu/primary_menu.c

index 53f8c28..08396cc 100644 (file)
@@ -412,7 +412,9 @@ void mmi_hengai_bp_calibrate_raw_data_send(uint8_t calibrate_times, uint16_t bp_
 
        temp_len += sprintf(post_data + temp_len, "\"sbp\":%d,", bp_value_high);
 
-       temp_len += sprintf(post_data + temp_len, "\"dbp\":%d}", bp_value_low);
+       temp_len += sprintf(post_data + temp_len, "\"dbp\":%d,", bp_value_low);
+
+       temp_len += sprintf(post_data + temp_len, "\"category\":%d}", calibrate_times);
 
 #endif
 
index 92ac5c8..f457ece 100644 (file)
@@ -350,11 +350,13 @@ static lv_obj_t * mmi_main_menu_style_list_display(lv_obj_t * tab)
                lv_label_set_long_mode(label, LV_LABEL_LONG_SROLL);
                #ifdef USE_LV_WATCH_UI_466_466
                lv_obj_set_width(label, lv_obj_get_width(btn) - 100);
+               lv_label_set_text_id(label, s_main_menu_list[i].txtId);
+               lv_obj_align(label, img, LV_ALIGN_OUT_RIGHT_MID, 15, 0);
                #else // USE_LV_WATCH_UI_240_240
                lv_obj_set_width(label, lv_obj_get_width(btn) - 70);
-               #endif
                lv_label_set_text_id(label, s_main_menu_list[i].txtId);
                lv_obj_align(label, img, LV_ALIGN_OUT_RIGHT_MID, 10, 0);
+               #endif
        #endif
        }