rscada / libmbus

Meter-bus library and utility programs
http://www.rscada.se/libmbus
BSD 3-Clause "New" or "Revised" License
217 stars 137 forks source link

Fix regression with XML output. #103

Closed strongly-typed closed 8 years ago

strongly-typed commented 8 years ago

Copy-paste error from 9edcc44.

Spotted with cd test && ./generate-xml.sh test-frames

--- test-frames/manual_frame2.xml   2016-05-09 00:19:44.000000000 +0200
+++ test-frames/manual_frame2.xml.new   2016-05-09 01:09:09.000000000 +0200
@@ -17,7 +17,7 @@
     <DataRecord id="1">
         <Function>Actual value</Function>
         <Unit>reserved but historic</Unit>
-        <Value>135</Value>
+        <Value>1</Value>
     </DataRecord>

 </MBusData>