addsensordlg.py: fix a typo.

When choosing an SH preset, preset value 6 was assigned to both
parameter 6 and parameter 7.

This was mentioned in issue #155.
This commit is contained in:
jbernardis 2015-05-30 21:54:37 -04:00 committed by Markus Hitter
parent 4597fd0c51
commit 972e0cbb3d
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ class AddSensorDlg(wx.Dialog):
if len(thermistorPresets[label]) == 7:
self.param4.SetValue(thermistorPresets[label][4])
self.param5.SetValue(thermistorPresets[label][5])
self.param6.SetValue(thermistorPresets[label][5])
self.param6.SetValue(thermistorPresets[label][6])
self.currentMethod = METHOD_SH
else:
self.currentMethod = METHOD_BETA