mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-01 22:51:58 +00:00
Fixed segfault when enabling verbose debug with fixed price
This commit is contained in:
@@ -186,7 +186,7 @@ void setup() {
|
||||
ws.setEntsoeApi(eapi);
|
||||
}
|
||||
ws.setPriceSettings(entsoe.area, entsoe.currency);
|
||||
ea.setFixedPrice(entsoe.fixedPrice / 1000.0);
|
||||
ea.setFixedPrice(entsoe.fixedPrice / 1000.0, entsoe.currency);
|
||||
bool shared = false;
|
||||
config.getMeterConfig(meterConfig);
|
||||
Serial.flush();
|
||||
@@ -655,7 +655,7 @@ void handlePriceApi(unsigned long now) {
|
||||
}
|
||||
ws.setPriceSettings(entsoe.area, entsoe.currency);
|
||||
config.ackEntsoeChange();
|
||||
ea.setFixedPrice(entsoe.fixedPrice / 1000.0);
|
||||
ea.setFixedPrice(entsoe.fixedPrice / 1000.0, entsoe.currency);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user