diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 6f1f6b5..b6c783d 100644 --- a/firmware/esp32-s3-dashboard/dashboard_config.h +++ b/firmware/esp32-s3-dashboard/dashboard_config.h @@ -1,6 +1,6 @@ #pragma once -static const char *DASHBOARD_VERSION = "0.1.65-fuel-icon-left"; +static const char *DASHBOARD_VERSION = "0.1.66-clean-vehicle-gauges"; // Update these if your Cargo ESP AP credentials are different. static const char *CARGO_WIFI_SSID = "OverlandController"; diff --git a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino index 230b1ab..9401329 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -1264,6 +1264,7 @@ static void create_overland_overview_screen() lv_obj_set_style_bg_opa(vehicle_coolant_meter, LV_OPA_TRANSP, 0); lv_obj_set_style_border_width(vehicle_coolant_meter, 0, 0); lv_obj_clear_flag(vehicle_coolant_meter, LV_OBJ_FLAG_SCROLLABLE); + lv_obj_set_style_text_opa(vehicle_coolant_meter, LV_OPA_TRANSP, LV_PART_TICKS); lv_meter_scale_t *coolant_scale = lv_meter_add_scale(vehicle_coolant_meter); lv_meter_set_scale_range(vehicle_coolant_meter, coolant_scale, 100, 260, 270, 135); @@ -1295,7 +1296,7 @@ static void create_overland_overview_screen() lv_obj_set_style_img_recolor(fuel_icon, lv_color_white(), 0); lv_obj_set_style_img_recolor_opa(fuel_icon, LV_OPA_COVER, 0); lv_img_set_zoom(fuel_icon, 90); - lv_obj_align(fuel_icon, LV_ALIGN_BOTTOM_LEFT, 16, -20); + lv_obj_align(fuel_icon, LV_ALIGN_BOTTOM_LEFT, -35, 35); vehicle_fuel_bar = lv_bar_create(vehicle_card); lv_obj_add_event_cb(vehicle_fuel_bar, fuel_bar_draw_value_cb, LV_EVENT_DRAW_PART_END, NULL);