diff -r 143077e54255 -r c49ab5179bf3 thermferm/rdconfig.c --- 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;