From 3099c813d1b6880257633566c0e6d75e98d83a7e Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Wed, 10 May 2023 14:32:11 +0200 Subject: [PATCH] add unit=s to pollinterval Change-Id: I6a28fecd4b0d650042f2f031a1b64b801fc2885e --- frappy/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy/modules.py b/frappy/modules.py index 0105c51..9844b2f 100644 --- a/frappy/modules.py +++ b/frappy/modules.py @@ -834,7 +834,7 @@ class Readable(Module): value = Parameter('current value of the module', FloatRange()) status = Parameter('current status of the module', StatusType(Status), default=(StatusType.IDLE, '')) - pollinterval = Parameter('default poll interval', FloatRange(0.1, 120), + pollinterval = Parameter('default poll interval', FloatRange(0.1, 120, unit='s'), default=5, readonly=False, export=True) def doPoll(self):