From 980cabefb54b3be31158ac4e4135634899b59fb0 Mon Sep 17 00:00:00 2001
From: atse <atse@m-labs.hk>
Date: Mon, 22 Jul 2024 15:38:27 +0800
Subject: [PATCH] ctrl_panel: Fix max_v to only have unit "V"

As most users do not need to limit TEC voltage with accuracy of less
than 1mV.
---
 pytec/pytec/gui/view/param_tree.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytec/pytec/gui/view/param_tree.json b/pytec/pytec/gui/view/param_tree.json
index 82b8184..1019258 100644
--- a/pytec/pytec/gui/view/param_tree.json
+++ b/pytec/pytec/gui/view/param_tree.json
@@ -153,11 +153,11 @@
                      "type": "float",
                      "value": 0,
                      "step": 0.1,
+                     "decimals": 3,
                      "limits": [
                         0,
                         4
                      ],
-                     "siPrefix": true,
                      "suffix": "V",
                      "noUnitEditing": true,
                      "compactHeight": false,