Skip to content
C

fix gt7 udp bug

YU CHIH CHANGa33b0a235079
diff --git a/installer/firmware/firmware.bin b/installer/firmware/firmware.bin
index 6f0be69..e296a49 100644
Binary files a/installer/firmware/firmware.bin and b/installer/firmware/firmware.bin differ
diff --git a/lib/GT7 UDP Telemetry Parser b/lib/GT7 UDP Telemetry Parser
new file mode 160000
index 0000000..dc58225
--- /dev/null
+++ b/lib/GT7 UDP Telemetry Parser
@@ -0,0 +1 @@
+Subproject commit dc58225c9c6b6d271218145edfd68ef0528aad3d
diff --git a/package.json b/package.json
index b7a3224..42b33a5 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,6 @@
{
"scripts": {
- "publish:firmware": "node scripts/publish-firmware.mjs"
+ "publish": "node scripts/publish-firmware.mjs"
}
}
\ No newline at end of file
diff --git a/platformio.ini b/platformio.ini
index 104fd87..9999be6 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -82,7 +82,7 @@ board = esp32doit-devkit-v1
framework = arduino
lib_deps =
moononournation/GFX Library for [email protected]
- https://github.com/MacManley/gt7-udp.git
+ ; https://github.com/MacManley/gt7-udp.git
locoduino/RingBuffer@^1.0.4
https://github.com/paulo-raca/ArduinoBufferedStreams.git#5e3a1a3d140955384a07878c64808e77fa2a7521
tzapu/WiFiManager@^2.0.17
diff --git a/src/SHCustomProtocol.h b/src/SHCustomProtocol.h
index 24c9062..15f8cd0 100644
--- a/src/SHCustomProtocol.h
+++ b/src/SHCustomProtocol.h
@@ -79,6 +79,14 @@ static void showWifiSetupScreen()
tft.setTextColor(TFT_GREEN, TFT_BLACK);
tft.setTextSize(2);
tft.drawString("192.168.4.1", 160, 195);
+
+ tft.setTextColor(TFT_WHITE, TFT_BLACK);
+ tft.setTextSize(1);
+ tft.drawCentreString(
+ String("v") + GT7_DASH_VERSION,
+ SCREEN_WIDTH / 2,
+ SCREEN_HEIGHT - 12,
+ 1);
}
int currentPage = 1; // Variabile per tenere traccia della pagina corrente