From 3dd32e32c94c688e15abc6a2316df0db33c57d16 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Sun, 17 Sep 2023 21:49:25 +0200 Subject: [PATCH] Fix type of drive level parameter closes #4 --- lbgpsdo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbgpsdo.py b/lbgpsdo.py index a014733..f2dde08 100755 --- a/lbgpsdo.py +++ b/lbgpsdo.py @@ -1280,6 +1280,7 @@ def parser_add_config(p): '--level', dest = 'level', metavar = 'CURRENT', + type = int, choices = [ 8, 16, 24, 32 ], help = "Output drive level in mA")