Skip to content

Commit

Permalink
Merge branch 'master' into dev-v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gskjold committed Nov 16, 2023
2 parents ae82914 + 0fa178a commit 76d7684
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/AmsToMqttBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ AmsWebServer ws(commonBuffer, &Debug, &hw);
bool mqttEnabled = false;
AmsMqttHandler* mqttHandler = NULL;

SystemConfig sysConfig;
GpioConfig gpioConfig;
#if defined(ESP32)
JsonMqttHandler* energySpeedometer = NULL;
MqttConfig energySpeedometerConfig = {
Expand All @@ -139,6 +137,14 @@ MqttConfig energySpeedometerConfig = {
};
#endif

Stream *hanSerial;
SoftwareSerial *swSerial = NULL;
HardwareSerial *hwSerial = NULL;
uint8_t rxBufferErrors = 0;

SystemConfig sysConfig;
GpioConfig gpioConfig;

MeterConfig meterConfig;
AmsData meterState;
bool ntpEnabled = false;
Expand All @@ -159,7 +165,6 @@ RealtimePlot rtp;
MeterCommunicator* mc = NULL;
PassiveMeterCommunicator* passiveMc = NULL;
KamstrupPullCommunicator* kamstrupMc = NULL;
HardwareSerial* hwSerial = NULL;

bool networkConnected = false;
bool setupMode = false;
Expand Down

0 comments on commit 76d7684

Please sign in to comment.