Fix exporting load cell thresholds to JSON.

master
Glenn Maynard 5 years ago
parent 80b08dbe0c
commit 37e5b445cd
  1. 2
      smx-config/Helpers.cs

@ -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…
Cancel
Save