Moved Svelte UI to lib folder

This commit is contained in:
Gunnar Skjold
2022-09-03 13:41:11 +02:00
parent 488c969858
commit 493c4b4337
36 changed files with 194 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
#include "AmsWebServer.h"
AmsWebServer::AmsWebServer(uint8_t* buf, RemoteDebug* Debug, HwTools* hw) {
this->debugger = Debug;
this->hw = hw;
this->buf = (char*) buf;
}
void AmsWebServer::setup(AmsConfiguration* config, GpioConfig* gpioConfig, MeterConfig* meterConfig, AmsData* meterState, AmsDataStorage* ds, EnergyAccounting* ea) {
this->config = config;
this->gpioConfig = gpioConfig;
this->meterConfig = meterConfig;
this->meterState = meterState;
this->ds = ds;
this->ea = ea;
}