From: Joseph Coffland Date: Thu, 22 Apr 2021 23:25:12 +0000 (-0700) Subject: Revert config template changes X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=8943d399daeed3cf3bbcd30f7439138ffb546e5c;p=bbctrl-firmware Revert config template changes --- 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"] } }