From f811c169b28768572410be077cfe0504a505c0ef Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Fixed bug on sender functor [#45] Return type was set to 'c_int' when it should have been 'None'. --- bin/modules/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/modules/common.py b/bin/modules/common.py index 25163d1..314c3aa 100644 --- a/bin/modules/common.py +++ b/bin/modules/common.py @@ -16,7 +16,7 @@ from ctypes import c_int, c_uint8, CFUNCTYPE class Common: - SENDER_TYPE = CFUNCTYPE(c_int, c_uint8) + SENDER_TYPE = CFUNCTYPE(None, c_uint8) RECEIVER_TYPE = CFUNCTYPE(c_uint8) def __init__(self, sim, max_buffer_size=4096): -- cgit v1.2.1