mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
make sure RX_BUFFER.maxsize is always int
This commit is contained in:
parent
eeffb8c6e4
commit
c3f198fda9
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue