added version information to rover menu
This commit is contained in:
Vendored
+41
-1
@@ -77,7 +77,47 @@
|
|||||||
"istream": "cpp",
|
"istream": "cpp",
|
||||||
"streambuf": "cpp",
|
"streambuf": "cpp",
|
||||||
"functional": "cpp",
|
"functional": "cpp",
|
||||||
"cmath": "cpp"
|
"cmath": "cpp",
|
||||||
|
"atomic": "cpp",
|
||||||
|
"cctype": "cpp",
|
||||||
|
"chrono": "cpp",
|
||||||
|
"clocale": "cpp",
|
||||||
|
"cstdarg": "cpp",
|
||||||
|
"cstddef": "cpp",
|
||||||
|
"cstdint": "cpp",
|
||||||
|
"cstdio": "cpp",
|
||||||
|
"cstdlib": "cpp",
|
||||||
|
"cstring": "cpp",
|
||||||
|
"ctime": "cpp",
|
||||||
|
"cwchar": "cpp",
|
||||||
|
"cwctype": "cpp",
|
||||||
|
"unordered_map": "cpp",
|
||||||
|
"unordered_set": "cpp",
|
||||||
|
"exception": "cpp",
|
||||||
|
"algorithm": "cpp",
|
||||||
|
"iterator": "cpp",
|
||||||
|
"map": "cpp",
|
||||||
|
"memory": "cpp",
|
||||||
|
"memory_resource": "cpp",
|
||||||
|
"numeric": "cpp",
|
||||||
|
"optional": "cpp",
|
||||||
|
"random": "cpp",
|
||||||
|
"ratio": "cpp",
|
||||||
|
"string_view": "cpp",
|
||||||
|
"system_error": "cpp",
|
||||||
|
"tuple": "cpp",
|
||||||
|
"type_traits": "cpp",
|
||||||
|
"utility": "cpp",
|
||||||
|
"initializer_list": "cpp",
|
||||||
|
"iomanip": "cpp",
|
||||||
|
"iosfwd": "cpp",
|
||||||
|
"iostream": "cpp",
|
||||||
|
"limits": "cpp",
|
||||||
|
"ostream": "cpp",
|
||||||
|
"sstream": "cpp",
|
||||||
|
"stdexcept": "cpp",
|
||||||
|
"cinttypes": "cpp",
|
||||||
|
"typeinfo": "cpp"
|
||||||
},
|
},
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"Ahnung",
|
"Ahnung",
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
// AUTO GENERATED FILE, DO NOT EDIT
|
// AUTO GENERATED FILE, DO NOT EDIT
|
||||||
#ifndef VERSION
|
#ifndef VERSION
|
||||||
#define VERSION "0.1.3"
|
#define VERSION "0.1.5"
|
||||||
#endif
|
#endif
|
||||||
#ifndef BUILD_TIMESTAMP
|
#ifndef BUILD_TIMESTAMP
|
||||||
#define BUILD_TIMESTAMP "2023-08-07 20:34:58.828579"
|
#define BUILD_TIMESTAMP "2023-08-07 20:54:44.940398"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "menuSysteminformation.h"
|
#include "menuSysteminformation.h"
|
||||||
|
|
||||||
MenuSysteminformation::MenuSysteminformation(Battery* mainBattery)
|
MenuSysteminformation::MenuSysteminformation(Battery* mainBattery)
|
||||||
: MenuInformationSites(6) {
|
: MenuInformationSites(8) {
|
||||||
this->mainBattery = mainBattery;
|
this->mainBattery = mainBattery;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -50,6 +50,16 @@ void MenuSysteminformation::printPage() const {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 5:
|
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";
|
lineOne = "Kleiax Rover by";
|
||||||
lineTwo = "Alexander Klein";
|
lineTwo = "Alexander Klein";
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
|
#include "Version.h"
|
||||||
|
|
||||||
#include "controlPadInput.h"
|
#include "controlPadInput.h"
|
||||||
#include "menuInformationSites.h"
|
#include "menuInformationSites.h"
|
||||||
#include "battery.h"
|
#include "battery.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user