summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs
index e4f924a..6ad57d9 100644
--- a/grapher/Models/AccelGUI.cs
+++ b/grapher/Models/AccelGUI.cs
@@ -139,8 +139,7 @@ namespace grapher
{
ButtonDelay(WriteButton);
- var cfg = DriverConfig.FromProfile(MakeSettingsFromFields());
- if (!Settings.TryActivate(cfg, out string errors))
+ if (!Settings.TryActivate(MakeSettingsFromFields(), out string errors))
{
error_message = errors.ToString();
}