From fb95e3dca8dbcc2fbacabf01dbb0f80630ff9c71 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 6e2a1b61..7ad8cbf8 100644 --- a/mod/hmi.py +++ b/mod/hmi.py @@ -459,7 +459,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):