From addb50cf183c796d57a9b22a2206a435d0c5b5ac Mon Sep 17 00:00:00 2001 From: Victor Gavro Date: Wed, 1 Dec 2021 06:18:35 +0200 Subject: [PATCH] video_wall_model: fixed pack, closes #2 (thanks @helge000) --- samsung_mdc/utils.py | 2 +- samsung_mdc/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samsung_mdc/utils.py b/samsung_mdc/utils.py index 96023be..0159b1a 100644 --- a/samsung_mdc/utils.py +++ b/samsung_mdc/utils.py @@ -65,4 +65,4 @@ def pack_videowall_model(value): """ Converts (x, y) tuple to one coordinates byte (with y, x representation) """ - return (value[0] * 16) + value[1] + return [(value[1] * 16) + value[0]] diff --git a/samsung_mdc/version.py b/samsung_mdc/version.py index b280975..e8b6b09 100644 --- a/samsung_mdc/version.py +++ b/samsung_mdc/version.py @@ -1 +1 @@ -__version__ = '1.8.0' +__version__ = '1.8.1'