added version information to rover menu
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "menuSysteminformation.h"
|
||||
|
||||
MenuSysteminformation::MenuSysteminformation(Battery* mainBattery)
|
||||
: MenuInformationSites(6) {
|
||||
: MenuInformationSites(8) {
|
||||
this->mainBattery = mainBattery;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,16 @@ void MenuSysteminformation::printPage() const {
|
||||
break;
|
||||
|
||||
case 5:
|
||||
lineOne = "Software verion:";
|
||||
lineTwo = VERSION;
|
||||
break;
|
||||
|
||||
case 6:
|
||||
lineOne = "Build timestamp:";
|
||||
lineTwo = String(BUILD_TIMESTAMP).substring(0, 16);
|
||||
break;
|
||||
|
||||
case 7:
|
||||
lineOne = "Kleiax Rover by";
|
||||
lineTwo = "Alexander Klein";
|
||||
break;
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "Version.h"
|
||||
|
||||
#include "controlPadInput.h"
|
||||
#include "menuInformationSites.h"
|
||||
#include "battery.h"
|
||||
|
||||
Reference in New Issue
Block a user