diff -r e50a5003c7ac -r d77891f8915d thermferm/rdconfig.c --- a/thermferm/rdconfig.c Tue Apr 23 20:45:29 2024 +0200 +++ b/thermferm/rdconfig.c Wed Apr 24 11:04:00 2024 +0200 @@ -265,7 +265,6 @@ xmlTextWriterWriteFormatElement(writer, BAD_CAST "PRODUCT_CODE", "%s", tmp3->product_code); xmlTextWriterWriteFormatElement(writer, BAD_CAST "PRODUCT_NAME", "%s", tmp3->product_name); xmlTextWriterWriteFormatElement(writer, BAD_CAST "ALIAS", "%s", tmp3->alias); - xmlTextWriterWriteFormatElement(writer, BAD_CAST "VOLUME", "%.1f", tmp3->volume); if (tmp3->air_address) { xmlTextWriterWriteFormatElement(writer, BAD_CAST "AIR_ADDRESS", "%s", tmp3->air_address); @@ -574,7 +573,7 @@ unit->alias = unit->air_address = unit->beer_address = unit->beer_address2 = unit->chiller_address = \ unit->heater_address = unit->cooler_address = unit->fan_address = unit->door_address = \ unit->light_address = unit->psu_address = unit->profile_uuid = unit->profile_name = NULL; - unit->volume = unit->prof_peak_abs = unit->prof_peak_rel = 0.0; + unit->prof_peak_abs = unit->prof_peak_rel = 0.0; unit->air_temperature = unit->beer_temperature = unit->chiller_temperature = unit->beer_set_lo = unit->beer_set_hi = \ unit->fridge_set_lo = unit->fridge_set_hi = unit->profile_inittemp_lo = unit->profile_inittemp_hi = 20.0; unit->air_state = unit->beer_state = unit->chiller_state = DEVPRESENT_NO; // missing @@ -616,12 +615,6 @@ if ((!xmlStrcmp(cur->name, (const xmlChar *)"ALIAS"))) { unit->alias = (char *)xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); } - if ((!xmlStrcmp(cur->name, (const xmlChar *)"VOLUME"))) { - key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); - if (sscanf((const char *)key, "%f", &val) == 1) - unit->volume = val; - xmlFree(key); - } if ((!xmlStrcmp(cur->name, (const xmlChar *)"AIR_ADDRESS"))) { unit->air_address = (char *)xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); }