Restructuring to be able to include precompiled kmp lib

This commit is contained in:
Gunnar Skjold
2024-07-11 13:15:22 +02:00
parent 4407526d96
commit 8a4efd0047
32 changed files with 105 additions and 25 deletions

View File

@@ -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