|
@ -256,7 +256,15 @@ void helloWorld() |
|
|
|
|
|
|
|
|
display.setCursor(5, display.height()-5); |
|
|
display.setCursor(5, display.height()-5); |
|
|
display.setFont(&Org_01); |
|
|
display.setFont(&Org_01); |
|
|
|
|
|
#if defined DRONE_SEMVER |
|
|
|
|
|
display.print("Version "); |
|
|
|
|
|
#define xstr(s) str(s) |
|
|
|
|
|
#define str(s) #s |
|
|
|
|
|
display.print(xstr(DRONE_SEMVER)); |
|
|
|
|
|
#elif defined FW_VERSION |
|
|
|
|
|
display.print("Build "); |
|
|
display.print(FW_VERSION); |
|
|
display.print(FW_VERSION); |
|
|
|
|
|
#endif |
|
|
} |
|
|
} |
|
|
while (display.nextPage()); |
|
|
while (display.nextPage()); |
|
|
//Serial.println("helloWorld done");
|
|
|
//Serial.println("helloWorld done");
|
|
|