Fix exporting load cell thresholds to JSON.
This commit is contained in:
parent
80b08dbe0c
commit
37e5b445cd
@ -550,7 +550,7 @@ namespace smx_config
|
|||||||
|
|
||||||
List<int> panelHighThresholds = new List<int>();
|
List<int> panelHighThresholds = new List<int>();
|
||||||
for(int panel = 0; panel < 9; ++panel)
|
for(int panel = 0; panel < 9; ++panel)
|
||||||
panelLowThresholds.Add(config.panelSettings[panel].loadCellHighThreshold);
|
panelHighThresholds.Add(config.panelSettings[panel].loadCellHighThreshold);
|
||||||
dict.Add("panelHighThresholds", panelHighThresholds);
|
dict.Add("panelHighThresholds", panelHighThresholds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user