Skip to content

Commit 22b794d

Browse files
authored
Merge pull request #579 from bitcraze/evoggy/24_byte_writes
Changed memory write/read size
2 parents 5865350 + 0a2eb31 commit 22b794d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cflib/crazyflie/mem/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class _ReadRequest:
7777
Class used to handle memory reads that will split up the read in multiple
7878
packets if necessary
7979
"""
80-
MAX_DATA_LENGTH = 20
80+
MAX_DATA_LENGTH = 24
8181

8282
def __init__(self, mem, addr, length, cf):
8383
"""Initialize the object with good defaults"""
@@ -141,7 +141,7 @@ class _WriteRequest:
141141
Class used to handle memory reads that will split up the read in multiple
142142
packets in necessary
143143
"""
144-
MAX_DATA_LENGTH = 25
144+
MAX_DATA_LENGTH = 24
145145

146146
def __init__(self, mem, addr, data, cf, progress_cb=None):
147147
"""Initialize the object with good defaults"""

0 commit comments

Comments
 (0)