remove test cmd, introduce resources to cmdServer

This commit is contained in:
hg
2014-03-05 15:59:49 +01:00
parent 5375925f34
commit 5d86d6c2bd
6 changed files with 17 additions and 29 deletions

View File

@ -1,14 +1,12 @@
#include "ThermometerPro.h"
#include "cmd.h"
#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;
@ -16,7 +14,6 @@ static Thermometer thermometer;
void setup() {
cmdServer.begin();
testCmd.registerYourself(&cmdServer);
configInvalidateCmd.registerYourself(&cmdServer);
uptime.begin(&cmdServer);
thermometer.begin(&cmdServer);