mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-18 20:09:36 +00:00
Fixed price from config file reboot loop (#1172)
This commit is contained in:
@@ -102,6 +102,8 @@ char* PriceService::getSource() {
|
||||
return this->today->getSource();
|
||||
} else if(tomorrow != NULL) {
|
||||
return this->tomorrow->getSource();
|
||||
} else if(!this->config->enabled && this->priceConfig.capacity() != 0) {
|
||||
return "FIX"; // Fixed price
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user