From 8943d399daeed3cf3bbcd30f7439138ffb546e5c Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Thu, 22 Apr 2021 16:25:12 -0700 Subject: [PATCH] Revert config template changes --- src/resources/config-template.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/resources/config-template.json b/src/resources/config-template.json index 7966094..9212ebf 100644 --- a/src/resources/config-template.json +++ b/src/resources/config-template.json @@ -168,7 +168,8 @@ "type": "enum", "values": [ "manual", "switch-min", "switch-max", "stall-min", "stall-max"], - "default": "manual" + "default": "manual", + "code": "ho" }, "stall-microstep": { "type": "int", @@ -195,6 +196,7 @@ "iunit": "IPM", "scale": 0.0254, "default": 0.1, + "code": "lv", "hmodes": ["switch-min", "switch-max"] }, "latch-backoff": { @@ -204,6 +206,7 @@ "iunit": "in", "scale": 25.4, "default": 100, + "code": "lb", "hmodes": ["switch-min", "switch-max"] }, "stall-volts": { @@ -237,6 +240,7 @@ "iunit": "in", "scale": 25.4, "default": 5, + "code": "zb", "hmodes": ["switch-min", "switch-max", "stall-min", "stall-max"] } } -- 2.27.0