Fix exporting load cell thresholds to JSON.

This commit is contained in:
Glenn Maynard 2019-09-14 21:17:52 -05:00
parent 80b08dbe0c
commit 37e5b445cd

View File

@ -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);
} }