dashboard: nudge battery gauge upward
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
static const char *DASHBOARD_VERSION = "0.1.22-repair-battery-update";
|
||||
static const char *DASHBOARD_VERSION = "0.1.23-battery-nudge-up";
|
||||
|
||||
// Update these if your Cargo ESP AP credentials are different.
|
||||
static const char *CARGO_WIFI_SSID = "OverlandController";
|
||||
|
||||
@@ -762,7 +762,7 @@ static void create_overland_overview_screen()
|
||||
lv_obj_set_style_text_font(battery_estimate_label, &lv_font_montserrat_30, 0);
|
||||
lv_obj_set_width(battery_estimate_label, 340);
|
||||
lv_obj_set_style_text_align(battery_estimate_label, LV_TEXT_ALIGN_CENTER, 0);
|
||||
lv_obj_align(battery_estimate_label, LV_ALIGN_TOP_MID, 0, 202);
|
||||
lv_obj_align(battery_estimate_label, LV_ALIGN_TOP_MID, 0, 196);
|
||||
lv_obj_add_flag(battery_estimate_label, LV_OBJ_FLAG_HIDDEN);
|
||||
|
||||
battery_soc_label = lv_label_create(battery_card);
|
||||
|
||||
Reference in New Issue
Block a user