C
Release 2.0.1 with neutral and reverse gear display fixes
YU CHIH CHANG630fd9a0f467
diff --git a/VERSION b/VERSIONindex 227cea2..38f77a6 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-2.0.0+2.0.1diff --git a/include/version.h b/include/version.hindex 75f6009..1889487 100644--- a/include/version.h+++ b/include/version.h@@ -1,3 +1,3 @@#pragma once-inline constexpr char GT7_DASH_VERSION[] = "2.0.0";+inline constexpr char GT7_DASH_VERSION[] = "2.0.1";diff --git a/installer/firmware/firmware-ili9341.bin b/installer/firmware/firmware-ili9341.binindex bd43598..b6cf2bf 100644Binary files a/installer/firmware/firmware-ili9341.bin and b/installer/firmware/firmware-ili9341.bin differdiff --git a/installer/firmware/firmware-st7789.bin b/installer/firmware/firmware-st7789.binindex eeb6bad..489fa56 100644Binary files a/installer/firmware/firmware-st7789.bin and b/installer/firmware/firmware-st7789.bin differdiff --git a/installer/manifest-st7789.json b/installer/manifest-st7789.jsonindex 5dae496..dcd0a4e 100644--- a/installer/manifest-st7789.json+++ b/installer/manifest-st7789.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ST7789)",- "version": "2.0.0",+ "version": "2.0.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/manifest.json b/installer/manifest.jsonindex 9c8b157..28285ef 100644--- a/installer/manifest.json+++ b/installer/manifest.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ILI9341)",- "version": "2.0.0",+ "version": "2.0.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/release-notes.json b/installer/release-notes.jsonindex 8394954..d951bfd 100644--- a/installer/release-notes.json+++ b/installer/release-notes.json@@ -1,4 +1,8 @@{+ "2.0.1": [+ "Fixed blank reverse gear in Mono and blank neutral/reverse gears in Retro and Radar when using SimHub.",+ "Matched Mono neutral and reverse letters with consistent full-stroke glyphs while preserving the numeric gear style."+ ],"2.0.0": ["Added explicit Direct GT7 Wi-Fi and SimHub USB connection modes with persistent on-device selection.","Added a shared SimHub Custom Protocol for all seven dashboard themes, including missing-value handling and transient neutral filtering.",diff --git a/installer/releases.json b/installer/releases.jsonindex 10fe8c9..7e70a7c 100644--- a/installer/releases.json+++ b/installer/releases.json@@ -1,5 +1,16 @@{"versions": [+ {+ "version": "2.0.1",+ "notes": [+ "Fixed blank reverse gear in Mono and blank neutral/reverse gears in Retro and Radar when using SimHub.",+ "Matched Mono neutral and reverse letters with consistent full-stroke glyphs while preserving the numeric gear style."+ ],+ "manifests": {+ "ili9341": "versions/2.0.1/manifest-ili9341.json",+ "st7789": "versions/2.0.1/manifest-st7789.json"+ }+ },{"version": "2.0.0","notes": [@@ -111,16 +122,6 @@"ili9341": "versions/1.3.0/manifest-ili9341.json","st7789": "versions/1.3.0/manifest-st7789.json"}- },- {- "version": "1.2.7",- "notes": [- "Added telemetry-driven RPM colours and progressive GT7 shift-warning pulse."- ],- "manifests": {- "ili9341": "versions/1.2.7/manifest-ili9341.json",- "st7789": "versions/1.2.7/manifest-st7789.json"- }}]}diff --git a/installer/versions/1.2.7/firmware-ili9341.bin b/installer/versions/1.2.7/firmware-ili9341.bindeleted file mode 100644index 29cdca8..0000000Binary files a/installer/versions/1.2.7/firmware-ili9341.bin and /dev/null differdiff --git a/installer/versions/1.2.7/firmware-st7789.bin b/installer/versions/1.2.7/firmware-st7789.bindeleted file mode 100644index d491af7..0000000Binary files a/installer/versions/1.2.7/firmware-st7789.bin and /dev/null differdiff --git a/installer/versions/1.2.7/boot_app0.bin b/installer/versions/2.0.1/boot_app0.binsimilarity index 100%rename from installer/versions/1.2.7/boot_app0.binrename to installer/versions/2.0.1/boot_app0.bindiff --git a/installer/versions/1.2.7/bootloader.bin b/installer/versions/2.0.1/bootloader.binsimilarity index 100%rename from installer/versions/1.2.7/bootloader.binrename to installer/versions/2.0.1/bootloader.bindiff --git a/installer/versions/2.0.1/firmware-ili9341.bin b/installer/versions/2.0.1/firmware-ili9341.binnew file mode 100644index 0000000..b6cf2bfBinary files /dev/null and b/installer/versions/2.0.1/firmware-ili9341.bin differdiff --git a/installer/versions/2.0.1/firmware-st7789.bin b/installer/versions/2.0.1/firmware-st7789.binnew file mode 100644index 0000000..489fa56Binary files /dev/null and b/installer/versions/2.0.1/firmware-st7789.bin differdiff --git a/installer/versions/1.2.7/manifest-ili9341.json b/installer/versions/2.0.1/manifest-ili9341.jsonsimilarity index 95%rename from installer/versions/1.2.7/manifest-ili9341.jsonrename to installer/versions/2.0.1/manifest-ili9341.jsonindex 6e32bf8..76ad4d0 100644--- a/installer/versions/1.2.7/manifest-ili9341.json+++ b/installer/versions/2.0.1/manifest-ili9341.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ILI9341)",- "version": "1.2.7",+ "version": "2.0.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/versions/1.2.7/manifest-st7789.json b/installer/versions/2.0.1/manifest-st7789.jsonsimilarity index 95%rename from installer/versions/1.2.7/manifest-st7789.jsonrename to installer/versions/2.0.1/manifest-st7789.jsonindex 375fefe..745c4d7 100644--- a/installer/versions/1.2.7/manifest-st7789.json+++ b/installer/versions/2.0.1/manifest-st7789.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ST7789)",- "version": "1.2.7",+ "version": "2.0.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/versions/1.2.7/partitions.bin b/installer/versions/2.0.1/partitions.binsimilarity index 100%rename from installer/versions/1.2.7/partitions.binrename to installer/versions/2.0.1/partitions.bindiff --git a/src/dashboard/themes/MonoTheme.inc b/src/dashboard/themes/MonoTheme.incindex 8998e39..03bc463 100644--- a/src/dashboard/themes/MonoTheme.inc+++ b/src/dashboard/themes/MonoTheme.inc@@ -28,22 +28,41 @@static constexpr int32_t height = 80;tft.fillRect(x, y, width, height, TFT_BLACK);- if (gear == "N")+ if (gear == "N" || gear == "R"){- // Font 7 only contains digits. Draw a matching heavy, angular N for neutral.+ // Match both letters to the same visible bounds and heavy angular strokes.static constexpr int32_t left = 134;static constexpr int32_t top = 63;static constexpr int32_t glyphWidth = 52;static constexpr int32_t glyphHeight = 66;static constexpr int32_t stroke = 8;tft.fillRect(left, top, stroke, glyphHeight, color);- tft.fillRect(left + glyphWidth - stroke, top, stroke, glyphHeight, color);- tft.fillTriangle(left + stroke, top,- left + stroke, top + 12,- left + glyphWidth - stroke, top + glyphHeight, color);- tft.fillTriangle(left + stroke, top,- left + glyphWidth - stroke, top + glyphHeight - 12,- left + glyphWidth - stroke, top + glyphHeight, color);+ if (gear == "R")+ {+ static constexpr int32_t bowlHeight = 34;+ tft.fillRect(left + stroke, top, glyphWidth - stroke, stroke, color);+ tft.fillRect(left + glyphWidth - stroke, top + stroke,+ stroke, bowlHeight - stroke, color);+ tft.fillRect(left + stroke, top + bowlHeight - stroke,+ glyphWidth - stroke, stroke, color);+ // Diagonal leg joins the bowl and ends at the same baseline as N.+ tft.fillTriangle(left + 22, top + bowlHeight - stroke,+ left + 32, top + bowlHeight - stroke,+ left + glyphWidth - 1, top + glyphHeight - 1, color);+ tft.fillTriangle(left + 22, top + bowlHeight - stroke,+ left + glyphWidth - 1, top + glyphHeight - 1,+ left + glyphWidth - 11, top + glyphHeight - 1, color);+ }+ else+ {+ tft.fillRect(left + glyphWidth - stroke, top, stroke, glyphHeight, color);+ tft.fillTriangle(left + stroke, top,+ left + stroke, top + 12,+ left + glyphWidth - stroke, top + glyphHeight, color);+ tft.fillTriangle(left + stroke, top,+ left + glyphWidth - stroke, top + glyphHeight - 12,+ left + glyphWidth - stroke, top + glyphHeight, color);+ }}else{diff --git a/src/dashboard/themes/RadarTheme.inc b/src/dashboard/themes/RadarTheme.incindex 01a8196..b99bfa5 100644--- a/src/dashboard/themes/RadarTheme.inc+++ b/src/dashboard/themes/RadarTheme.inc@@ -422,8 +422,11 @@drawRadarStatusDot(75, 226, isActiveValue(state.tcActive), "radarTcs",blue, muted, redraw);+ // Font 7 renders N/R as spaces. Use Font 4 for these letter gears.+ const bool letterGear = state.gear == "N" || state.gear == "R";drawRadarValue(116, 63, 88, 56, state.gear, "radarGear",- TFT_WHITE, 7, MC_DATUM, redraw, 0.98f, 1.0f);+ TFT_WHITE, letterGear ? 4 : 7, MC_DATUM, redraw,+ letterGear ? 1.7f : 0.98f, letterGear ? 1.7f : 1.0f);drawRadarValueBuffered(115, 121, 90, 39, state.speed, "radarSpeed",TFT_WHITE, 7, MC_DATUM, redraw, speedSprite, speedSpriteCreated,0.66f, 0.72f);diff --git a/src/dashboard/themes/RetroTheme.inc b/src/dashboard/themes/RetroTheme.incindex 6c2c123..a52404d 100644--- a/src/dashboard/themes/RetroTheme.inc+++ b/src/dashboard/themes/RetroTheme.inc@@ -278,8 +278,11 @@drawRetroRpm(state, forceUpdate);drawRetroTextValueBuffered(7, 77, 84, 62, state.speed, "retroSpeed", ink,7, MC_DATUM, forceUpdate, speedSprite, speedSpriteCreated, 0.72f, 0.82f);+ // Font 7 renders N/R as spaces. Keep its numeric style for forward gears.+ const bool letterGear = state.gear == "N" || state.gear == "R";drawRetroTextValue(104, 76, 74, 72, state.gear, "retroGear", ink,- 7, MC_DATUM, forceUpdate, 1.20f, 1.22f);+ letterGear ? 4 : 7, MC_DATUM, forceUpdate,+ letterGear ? 2.1f : 1.20f, letterGear ? 2.1f : 1.22f);// Keep labels and values on separate rows. Fractionally scaled bitmap fonts// produced malformed glyphs on the 2.8-inch panel, so Retro uses native sizes.