make sure RX_BUFFER.maxsize is always int

This commit is contained in:
DJ2LS 2022-12-07 15:41:37 +01:00
parent eeffb8c6e4
commit c3f198fda9

View file

@ -818,7 +818,7 @@ class DATA:
# check if RX_BUFFER isn't full
if not RX_BUFFER.full():
# make sure we have always the correct buffer size
RX_BUFFER.maxsize = static.RX_BUFFER_SIZE
RX_BUFFER.maxsize = int(static.RX_BUFFER_SIZE)
else:
# if full, free space by getting an item
self.log.info(