From 1ae8bf44e96fdf778bef0fb9d930522c2a6017d8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 15 Nov 2023 20:52:26 +0100 Subject: [PATCH] Fix data type for CMD_TUNER Signed-off-by: falkTX --- mod/hmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/hmi.py b/mod/hmi.py index 5b1f0e3d..bef2c93b 100644 --- a/mod/hmi.py +++ b/mod/hmi.py @@ -462,7 +462,7 @@ def ping(self, callback): self.send(CMD_PING, callback, 'boolean') def tuner(self, freq, note, cents, callback): - self.send('%s %f %s %f' % (CMD_TUNER, freq, note, cents), callback) + self.send('%s %f %s %d' % (CMD_TUNER, freq, note, cents), callback) #TODO, This message should be handled by mod-system-control once in place def expression_overcurrent(self, callback):