thermferm/rdconfig.c

changeset 185
4f34271cf1e7
parent 176
8c7d87a2c094
child 191
c74bbc24a1c8
equal deleted inserted replaced
184:db997a04fde3 185:4f34271cf1e7
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 unit->PID_err_old = unit->PID_I_err = 0.0;
684 684
685 cur = cur->xmlChildrenNode; 685 cur = cur->xmlChildrenNode;
686 while (cur != NULL) { 686 while (cur != NULL) {
687 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) { 687 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) {
688 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); 688 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);

mercurial