From 65da85c57c6db4bc02233c4c30e8bb597d574cf3 Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 11 Jun 2026 01:22:18 -0600 Subject: [PATCH] dashboard: fix vehicle card newlines --- firmware/esp32-s3-dashboard/dashboard_config.h | 2 +- firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 453ce4a..6eb4206 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.46-vehicle-sample-card"; +static const char *DASHBOARD_VERSION = "0.1.47-vehicle-card-newlines"; // 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 1ec1f67..1953a82 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -1131,11 +1131,11 @@ static void create_overland_overview_screen() lv_obj_t *vehicle_label = lv_label_create(vehicle_card); lv_label_set_text(vehicle_label, - "Coolant 188\\n" - "Trans --\\n" - "Fuel --%\\n" - "4WD --\\n" - "Tilt --" + "Coolant 188\n" + "Trans --\n" + "Fuel --%\n" + "4WD --\n" + "Tilt --" ); lv_obj_set_style_text_color(vehicle_label, lv_color_hex(0xDDE3EA), 0); lv_obj_set_style_text_font(vehicle_label, &lv_font_montserrat_30, 0);