Splash screen: show unofficial build marker for Plus builds

Add FIRMWARE_PLUS_BUILD compile flag to both companion sections in
platformio.ini. When set, SplashScreen shows "+ unofficial build" in
yellow below the build date. Avoids runtime string parsing — the
existing version stripping logic (cuts at first dash) is unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-10 22:58:46 +02:00
parent 3f7293c657
commit 81c69f89c6
2 changed files with 7 additions and 0 deletions

View File

@@ -66,6 +66,11 @@ public:
display.setTextSize(1);
display.drawTextCentered(display.width()/2, 42, FIRMWARE_BUILD_DATE);
#ifdef FIRMWARE_PLUS_BUILD
display.setColor(DisplayDriver::YELLOW);
display.drawTextCentered(display.width()/2, 54, "+ unofficial build");
#endif
return 1000;
}