thermferm/rdconfig.c

changeset 176
8c7d87a2c094
parent 175
b73490398368
child 185
4f34271cf1e7
equal deleted inserted replaced
175:b73490398368 176:8c7d87a2c094
678 unit->temp_set_min = 1.0; 678 unit->temp_set_min = 1.0;
679 unit->temp_set_max = 30.0; 679 unit->temp_set_max = 30.0;
680 unit->idle_rangeH = 1.0; 680 unit->idle_rangeH = 1.0;
681 unit->idle_rangeL = -1.0; 681 unit->idle_rangeL = -1.0;
682 unit->prof_started = (time_t)0; 682 unit->prof_started = (time_t)0;
683 unit->PID_err_old = 0.0;
683 684
684 cur = cur->xmlChildrenNode; 685 cur = cur->xmlChildrenNode;
685 while (cur != NULL) { 686 while (cur != NULL) {
686 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) { 687 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) {
687 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); 688 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);

mercurial