C
release: publish version 1.7.1
YU CHIH CHANG5755a69890ae
diff --git a/VERSION b/VERSIONindex bd8bf88..943f9cb 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-1.7.0+1.7.1diff --git a/include/version.h b/include/version.hindex 53496b0..3f0cb20 100644--- a/include/version.h+++ b/include/version.h@@ -1,3 +1,3 @@#pragma once-inline constexpr char GT7_DASH_VERSION[] = "1.7.0";+inline constexpr char GT7_DASH_VERSION[] = "1.7.1";diff --git a/installer/firmware/firmware-ili9341.bin b/installer/firmware/firmware-ili9341.binindex e90f483..0e88d2d 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 fc0648e..1d8cd91 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 c6ed31c..40ab133 100644--- a/installer/manifest-st7789.json+++ b/installer/manifest-st7789.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ST7789)",- "version": "1.7.0",+ "version": "1.7.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/manifest.json b/installer/manifest.jsonindex d0e6fa4..ccdf878 100644--- a/installer/manifest.json+++ b/installer/manifest.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ILI9341)",- "version": "1.7.0",+ "version": "1.7.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/release-notes.json b/installer/release-notes.jsonindex a167d04..68407ae 100644--- a/installer/release-notes.json+++ b/installer/release-notes.json@@ -1,4 +1,9 @@{+ "1.7.1": [+ "Added a row-based fuel-level treatment to the Pocket fuel-pump icon, with a clear light-above and dark-below liquid boundary.",+ "Updated Theme Preview mock telemetry to demonstrate the Pocket fuel indicator at 80 percent.",+ "Refined the Pocket ABS indicator proportions and alignment."+ ],"1.7.0": ["Added the Pocket dashboard theme with a Game Boy-inspired pixel interface and adaptive GT7 telemetry presentation.","Added pixel-style RPM, lap, position, timing, fuel, ABS and TCS indicators optimized for 320 x 240 displays.",diff --git a/installer/releases.json b/installer/releases.jsonindex 2acbb31..5937a1d 100644--- a/installer/releases.json+++ b/installer/releases.json@@ -1,16 +1,15 @@{"versions": [{- "version": "1.7.0",+ "version": "1.7.1","notes": [- "Added the Pocket dashboard theme with a Game Boy-inspired pixel interface and adaptive GT7 telemetry presentation.",- "Added pixel-style RPM, lap, position, timing, fuel, ABS and TCS indicators optimized for 320 x 240 displays.",- "Improved Pocket driving-aid redraw isolation to prevent fuel, ABS and TCS indicators from flickering together.",- "Refined Pocket iconography, layout spacing, typography and shift-light visibility through physical display testing."+ "Added a row-based fuel-level treatment to the Pocket fuel-pump icon, with a clear light-above and dark-below liquid boundary.",+ "Updated Theme Preview mock telemetry to demonstrate the Pocket fuel indicator at 80 percent.",+ "Refined the Pocket ABS indicator proportions and alignment."],"manifests": {- "ili9341": "versions/1.7.0/manifest-ili9341.json",- "st7789": "versions/1.7.0/manifest-st7789.json"+ "ili9341": "versions/1.7.1/manifest-ili9341.json",+ "st7789": "versions/1.7.1/manifest-st7789.json"}},{diff --git a/installer/versions/1.7.0/boot_app0.bin b/installer/versions/1.7.1/boot_app0.binsimilarity index 100%rename from installer/versions/1.7.0/boot_app0.binrename to installer/versions/1.7.1/boot_app0.bindiff --git a/installer/versions/1.7.0/bootloader.bin b/installer/versions/1.7.1/bootloader.binsimilarity index 100%rename from installer/versions/1.7.0/bootloader.binrename to installer/versions/1.7.1/bootloader.bindiff --git a/installer/versions/1.7.0/firmware-ili9341.bin b/installer/versions/1.7.1/firmware-ili9341.binsimilarity index 70%rename from installer/versions/1.7.0/firmware-ili9341.binrename to installer/versions/1.7.1/firmware-ili9341.binindex e90f483..0e88d2d 100644Binary files a/installer/versions/1.7.0/firmware-ili9341.bin and b/installer/versions/1.7.1/firmware-ili9341.bin differdiff --git a/installer/versions/1.7.0/firmware-st7789.bin b/installer/versions/1.7.1/firmware-st7789.binsimilarity index 68%rename from installer/versions/1.7.0/firmware-st7789.binrename to installer/versions/1.7.1/firmware-st7789.binindex fc0648e..1d8cd91 100644Binary files a/installer/versions/1.7.0/firmware-st7789.bin and b/installer/versions/1.7.1/firmware-st7789.bin differdiff --git a/installer/versions/1.7.0/manifest-ili9341.json b/installer/versions/1.7.1/manifest-ili9341.jsonsimilarity index 95%rename from installer/versions/1.7.0/manifest-ili9341.jsonrename to installer/versions/1.7.1/manifest-ili9341.jsonindex 97130ac..e3343df 100644--- a/installer/versions/1.7.0/manifest-ili9341.json+++ b/installer/versions/1.7.1/manifest-ili9341.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ILI9341)",- "version": "1.7.0",+ "version": "1.7.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/versions/1.7.0/manifest-st7789.json b/installer/versions/1.7.1/manifest-st7789.jsonsimilarity index 95%rename from installer/versions/1.7.0/manifest-st7789.jsonrename to installer/versions/1.7.1/manifest-st7789.jsonindex adf56d5..c40f937 100644--- a/installer/versions/1.7.0/manifest-st7789.json+++ b/installer/versions/1.7.1/manifest-st7789.json@@ -1,6 +1,6 @@{"name": "ESP32 GT7 Dashboard (ST7789)",- "version": "1.7.0",+ "version": "1.7.1","new_install_prompt_erase": true,"builds": [{diff --git a/installer/versions/1.7.0/partitions.bin b/installer/versions/1.7.1/partitions.binsimilarity index 100%rename from installer/versions/1.7.0/partitions.binrename to installer/versions/1.7.1/partitions.bindiff --git a/src/SHCustomProtocol.h b/src/SHCustomProtocol.hindex a5e1243..266aa02 100644--- a/src/SHCustomProtocol.h+++ b/src/SHCustomProtocol.h@@ -366,7 +366,7 @@ private:themePreviewData.tyrePressureFrontLeft = "4";themePreviewData.tyrePressureFrontRight = "5";themePreviewData.tyrePressureRearLeft = "3/10";- themePreviewData.brakeBias = "60";+ themePreviewData.brakeBias = "80";themePreviewData.fuelAlertActive = "60";themePreviewData.tcLevel = "68";themePreviewData.tcFilteredLevel = "62";diff --git a/src/dashboard/themes/PocketTheme.inc b/src/dashboard/themes/PocketTheme.incindex 79b5919..2b67795 100644--- a/src/dashboard/themes/PocketTheme.inc+++ b/src/dashboard/themes/PocketTheme.inc@@ -198,13 +198,28 @@tft.fillRect(176, 165, 44, 60, pale);tft.setTextSize(1.0f);tft.drawString(validFuel ? state.brakeBias + "%" : "--", 198, 174, 2);- // Narrower pump leaves enough visual room for the fuel percentage.- tft.fillRect(192, 184, 13, 21, dark);+ // The pump doubles as a coarse pixel fuel gauge. Its color boundary+ // always advances by complete horizontal rows: dark fuel below,+ // lighter empty space above. Missing telemetry is treated as full.+ const int fuelPercent = validFuel+ ? constrain(state.brakeBias.toInt(), 0, 100)+ : 100;+ constexpr int pumpTop = 184;+ constexpr int pumpBottom = 207;+ constexpr int pumpHeight = pumpBottom - pumpTop + 1;+ const int darkRows = (fuelPercent * pumpHeight + 50) / 100;+ const int liquidTop = pumpBottom - darkRows + 1;+ for (int y = pumpTop; y <= pumpBottom; ++y)+ {+ const uint16_t rowColor = y >= liquidTop ? darkest : light;+ if (y <= 204) tft.drawFastHLine(192, y, 13, rowColor);+ if (y >= 205) tft.drawFastHLine(189, y, 19, rowColor);+ if (y >= 186 && y <= 189) tft.drawFastHLine(205, y, 4, rowColor);+ if (y >= 189 && y <= 203) tft.drawPixel(208, y, rowColor);+ if (y >= 190 && y <= 196) tft.drawFastHLine(209, y, 3, rowColor);+ }+ // Keep the pump window cut out regardless of the displayed level.tft.fillRect(195, 187, 7, 6, pale);- tft.fillRect(189, 205, 19, 3, dark);- tft.drawFastVLine(208, 189, 15, dark);- tft.fillRect(205, 186, 4, 4, dark);- tft.fillRect(209, 190, 3, 7, dark);tft.drawString("FUEL", 198, 220, 1);}