mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-24 16:18:49 +00:00
Some changes to make firmware fit on all platforms
This commit is contained in:
@@ -11,10 +11,13 @@
|
||||
#include "RemoteDebug.h"
|
||||
#include "AmsConfiguration.h"
|
||||
#include "DataParsers.h"
|
||||
#include "SoftwareSerial.h"
|
||||
#include "Timezone.h"
|
||||
#include "PassthroughMqttHandler.h"
|
||||
|
||||
#if defined(ESP8266)
|
||||
#include "SoftwareSerial.h"
|
||||
#endif
|
||||
|
||||
class PassiveMeterCommunicator : public MeterCommunicator {
|
||||
public:
|
||||
PassiveMeterCommunicator(RemoteDebug* debugger);
|
||||
@@ -40,7 +43,9 @@ protected:
|
||||
uint8_t *hanBuffer = NULL;
|
||||
uint16_t hanBufferSize = 0;
|
||||
Stream *hanSerial;
|
||||
#if defined(ESP8266)
|
||||
SoftwareSerial *swSerial = NULL;
|
||||
#endif
|
||||
HardwareSerial *hwSerial = NULL;
|
||||
uint8_t rxBufferErrors = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user