brewco/rdconfig.c

changeset 448
7fe45f6e4f48
parent 447
b48368855ec4
child 449
1277fb94999f
--- a/brewco/rdconfig.c	Sun Dec 06 12:34:44 2015 +0100
+++ b/brewco/rdconfig.c	Sun Dec 06 14:29:37 2015 +0100
@@ -999,7 +999,7 @@
 	    key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
 	    for (i = 0; i < 2; i++) {
 		if (! xmlStrcmp(key, (const xmlChar *)PIDDIRECTION[i])) {
-		    PID_setControllerDirection(unit->PID_hlt, i);
+		    PID_setDirection(unit->PID_hlt, i);
 		    break;
 		}
 	    }
@@ -1033,7 +1033,7 @@
 	    key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
 	    for (i = 0; i < 2; i++) {
 		if (! xmlStrcmp(key, (const xmlChar *)PIDDIRECTION[i])) {
-		    PID_setControllerDirection(unit->PID_mlt, i);
+		    PID_setDirection(unit->PID_mlt, i);
 		    break;
 		}
 	    }

mercurial