mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-12 00:02:53 +00:00
Use export price for export calculations
This commit is contained in:
parent
a1a6953521
commit
846cf85331
@ -523,7 +523,7 @@ std::vector<PriceConfig>& PriceService::getPriceConfig() {
|
||||
}
|
||||
|
||||
void PriceService::setPriceConfig(uint8_t index, PriceConfig &priceConfig) {
|
||||
stripNonAscii((uint8_t*) priceConfig.name, 32);
|
||||
stripNonAscii((uint8_t*) priceConfig.name, 32, true);
|
||||
|
||||
if(this->priceConfig.capacity() != index+1)
|
||||
this->priceConfig.resize(index+1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user