mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-06 08:36:15 +00:00
Restructuring to be able to include precompiled kmp lib
This commit is contained in:
@@ -196,6 +196,7 @@ KmpCommunicator* kmpMc = NULL;
|
||||
#endif
|
||||
PulseMeterCommunicator* pulseMc = NULL;
|
||||
|
||||
|
||||
bool networkConnected = false;
|
||||
bool setupMode = false;
|
||||
|
||||
@@ -800,7 +801,7 @@ void loop() {
|
||||
if(kmpMc == NULL) {
|
||||
kmpMc = new KmpCommunicator(&Debug);
|
||||
}
|
||||
kmpMc->configure(meterConfig, tz);
|
||||
kmpMc->configure(meterConfig);
|
||||
hwSerial = kmpMc->getHwSerial();
|
||||
mc = kmpMc;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user