Skip to content

Commit

Permalink
Update ui_heel.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored May 13, 2023
1 parent 29623b2 commit ef7ab38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bbn_m5tough_active_boat/ui_heel.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ extern "C" {
lv_label_set_text(heel_leeway_label, "Leeway\n(est):\n--");

heel_drift_label = lv_label_create(parent);
lv_obj_align(heel_drift_label, LV_ALIGN_TOP_RIGHT, -5, 5);
lv_obj_align(heel_drift_label, LV_ALIGN_TOP_LEFT, 175, 5);
#if LV_FONT_MONTSERRAT_20
lv_obj_set_style_text_font(heel_drift_label, &lv_font_montserrat_20, 0);
#endif
lv_label_set_text(heel_drift_label, "DFT (kt):\n--");
lv_label_set_text(heel_drift_label, "DFT (kt): --");

heel_set_label = lv_label_create(parent);
lv_obj_align(heel_set_label, LV_ALIGN_TOP_RIGHT, -5, 50);
lv_obj_align(heel_set_label, LV_ALIGN_TOP_LEFT, 245, 50);
#if LV_FONT_MONTSERRAT_20
lv_obj_set_style_text_font(heel_set_label, &lv_font_montserrat_20, 0);
#endif
Expand All @@ -83,7 +83,7 @@ extern "C" {
+ LV_SYMBOL_DEGREES)
.c_str());
lv_label_set_text(heel_drift_label,
("DFT (kt):\n"
("DFT (kt): "
+ (fresh(shipDataModel.navigation.drift.age) ? String(shipDataModel.navigation.drift.kn, 1) : String("--")))
.c_str());
lv_label_set_text(heel_set_label,
Expand Down

0 comments on commit ef7ab38

Please sign in to comment.