summaryrefslogtreecommitdiffstats
path: root/xml/test
diff options
context:
space:
mode:
authornicolas.zilio@hotmail.fr <>2015-09-14 11:56:38 +0200
committernicolas.zilio@hotmail.fr <>2015-09-14 11:56:38 +0200
commit2dfb23016c39a331bf5ed4111b630dffa330edbb (patch)
tree995c98cf6c329aaf8996bb57bb95b44198b4a984 /xml/test
parent60c6bf9f6916b6ae2c05a499675ff54480256ece (diff)
downloadpcitool-2dfb23016c39a331bf5ed4111b630dffa330edbb.tar.gz
pcitool-2dfb23016c39a331bf5ed4111b630dffa330edbb.tar.bz2
pcitool-2dfb23016c39a331bf5ed4111b630dffa330edbb.tar.xz
pcitool-2dfb23016c39a331bf5ed4111b630dffa330edbb.zip
views working fine, units in progress
Diffstat (limited to 'xml/test')
-rw-r--r--xml/test/camera.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml/test/camera.xml b/xml/test/camera.xml
index 815a50e..bf26d80 100644
--- a/xml/test/camera.xml
+++ b/xml/test/camera.xml
@@ -466,14 +466,14 @@
<view type="formula">
<name>formuu2</name>
<unit>C</unit>
- <read_from_register>((1./4)*(@reg - 1200)) if @freq==0 else ((3./10)*(@reg - 1000))</read_from_register>
+ <read_from_register>((1./4)*(@reg + 1200)) if @freq==0 else ((3./10)*(@reg + 1000))</read_from_register>
<write_to_register>4*@value + 1200 if @freq==0 else (10./3)*@value + 1000</write_to_register>
<description>formula to get real sensor temperature from the sensor_temperature register in decimal</description>
</view>
<view type="enum">
<name>enumm2</name>
<enum value="0x120">high</enum>
- <enum value="0x010" min="0x00" max="0x020">low</enum>
+ <enum value="0x010" min="0x00" max="0x060">low</enum>
<description>enum towards sensor_temperature register</description>
</view>
<view type="formula">