Add persistentData to store dc-fw-version
Reading dc-fw-version is somehow complicated ... Id does not work reliable on startup, so we do read it also on every diagRequest(). Version string is then stored in persistent data. This data can be used e.g. by other tools to show the device-controller-firmware-version.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "version.h"
|
||||
|
||||
|
||||
#include "support/PersistentData.h"
|
||||
|
||||
#include "interfaces.h"
|
||||
|
||||
@@ -112,6 +112,8 @@ private:
|
||||
|
||||
DeviceControllerDiag* diag;
|
||||
|
||||
PersistentData *persistentData;
|
||||
|
||||
uint32_t cashStartAmountInt;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user