From 37e5b445cd02b8ecf6039b68d3ce6a7cd9387824 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Sep 2019 21:17:52 -0500 Subject: [PATCH] Fix exporting load cell thresholds to JSON. --- smx-config/Helpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smx-config/Helpers.cs b/smx-config/Helpers.cs index 5ec546f..765260a 100644 --- a/smx-config/Helpers.cs +++ b/smx-config/Helpers.cs @@ -550,7 +550,7 @@ namespace smx_config List panelHighThresholds = new List(); for(int panel = 0; panel < 9; ++panel) - panelLowThresholds.Add(config.panelSettings[panel].loadCellHighThreshold); + panelHighThresholds.Add(config.panelSettings[panel].loadCellHighThreshold); dict.Add("panelHighThresholds", panelHighThresholds); }