Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

fix version string format for m5 lcd

Geo45465aa269b7
diff --git a/src/Views/M5DeviceView.cpp b/src/Views/M5DeviceView.cpp
index 34b622e6..051676df 100644
--- a/src/Views/M5DeviceView.cpp
+++ b/src/Views/M5DeviceView.cpp
@@ -31,7 +31,7 @@ void M5DeviceView::logo() {
M5.Lcd.setTextSize(1.6);
M5.Lcd.setCursor(43, 80);
M5.Lcd.setTextColor(TEXT_COLOR);
- M5.Lcd.printf("Version " + std::string(state.getVersion()) + " - Geo");
+ M5.Lcd.printf("Version %s - Geo", state.getVersion().c_str());
delay(3000);
}