store debug and info in eeprom too
This commit is contained in:
@ -4,10 +4,12 @@
|
||||
#include "test.h"
|
||||
#include "uptime.h"
|
||||
#include "thermometer.h"
|
||||
#include "Config.h"
|
||||
|
||||
|
||||
static CmdServer cmdServer(&Serial);
|
||||
static TestCmd testCmd;
|
||||
static ConfigInvalidateCmd configInvalidateCmd;
|
||||
static Uptime uptime;
|
||||
static Thermometer thermometer;
|
||||
|
||||
@ -15,6 +17,7 @@ static Thermometer thermometer;
|
||||
void setup() {
|
||||
cmdServer.begin();
|
||||
testCmd.registerYourself(&cmdServer);
|
||||
configInvalidateCmd.registerYourself(&cmdServer);
|
||||
uptime.begin(&cmdServer);
|
||||
thermometer.begin(&cmdServer);
|
||||
|
||||
|
Reference in New Issue
Block a user