thermferm/rdconfig.c

changeset 78
c49ab5179bf3
parent 77
143077e54255
child 80
81bf78a7618e
--- a/thermferm/rdconfig.c	Wed Jun 25 16:56:09 2014 +0200
+++ b/thermferm/rdconfig.c	Wed Jun 25 17:18:01 2014 +0200
@@ -250,6 +250,10 @@
 	syslog(LOG_NOTICE, "wrconfig: error at xmlTextWriterWriteElement");
 	return 1;
     }
+    if ((rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "ADDRESS", "0x%x", Config.lcd_address)) < 0) {
+	syslog(LOG_NOTICE, "wrconfig: error at xmlTextWriterWriteFormatElement");
+	return 1;
+    }
     if ((rc = xmlTextWriterWriteFormatElement(writer, BAD_CAST "COLUMNS", "%d", Config.lcd_cols)) < 0) {
 	syslog(LOG_NOTICE, "wrconfig: error at xmlTextWriterWriteFormatElement");
 	return 1;

mercurial