From e68fc62e0fc7e81fd5b4aa7bdbf8fe7815f25bef Mon Sep 17 00:00:00 2001 From: Chris H <629204+ravngr@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:42:00 +1100 Subject: [PATCH] Fixed incorrect c_type Fixes #1 (thanks @Jordi-aguilar) --- CITATION.cff | 2 +- pylinkam/__init__.py | 2 +- pylinkam/interface.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 7d382e3..bb2cbf4 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,6 +8,6 @@ authors: given-names: Mahnaz orcid: https://orcid.org/0000-0002-3520-1553 title: "pylinkam" -version: 1.2.3 +version: 1.2.4 doi: 10.5281/zenodo.6758012 date-released: 2022-06-27 diff --git a/pylinkam/__init__.py b/pylinkam/__init__.py index fca1fe2..b1f41d0 100644 --- a/pylinkam/__init__.py +++ b/pylinkam/__init__.py @@ -1,5 +1,5 @@ __app_name__ = 'pylinkam' -__version__ = '1.2.3' +__version__ = '1.2.4' __author__ = 'Chris Harrison' __credits__ = [__author__] diff --git a/pylinkam/interface.py b/pylinkam/interface.py index 87877e7..a550522 100644 --- a/pylinkam/interface.py +++ b/pylinkam/interface.py @@ -322,7 +322,7 @@ class ControllerConfig(ctypes.Union): class ControllerProgramStatusFlags(ctypes.Structure): - _fields_ = [(x, ctypes.c_uint64, 1) for x in [ + _fields_ = [(x, ctypes.c_uint32, 1) for x in [ 'dirn', 'hold', 'heat',