aboutsummaryrefslogtreecommitdiff
path: root/bin/modules
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
commitf811c169b28768572410be077cfe0504a505c0ef (patch)
tree92e0e87e1f2c0155f0469ddc68815d903dbf39d8 /bin/modules
parent25fb099ec677266754e997602abdcec0abf4404f (diff)
Fixed bug on sender functor [#45]
Return type was set to 'c_int' when it should have been 'None'.
Diffstat (limited to 'bin/modules')
-rw-r--r--bin/modules/common.py2
1 files changed, 1 insertions, 1 deletions
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):