forked from airgradienthq/arduino
compile git version into firmware
This commit is contained in:
1 parent
302bec9d37
commit
5275f5a810
3 files changed
+6
-3
No files matched your search
@@ -467,6 +467,8 @@ static void oneIndoorInit(void) {
|
||||
|
||||
/** Show boot display */
|
||||
Serial.println("Firmware Version: " + ag->getVersion());
|
||||
Serial.printf("Firmware version: %s\n", GIT_VERSION);
|
||||
|
||||
oledDisplay.setText("AirGradient ONE",
|
||||
"FW Version: ", ag->getVersion().c_str());
|
||||
delay(DISPLAY_DELAY_SHOW_CONTENT_MS);
|
||||
|
||||
Reference in new issue
Block a user