From 0a2eb31f3faebbca4a64b31a696286afadeb7fe2 Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 13 Nov 2025 10:47:45 +0100 Subject: [PATCH] Fixed memory read/write size --- cflib/crazyflie/mem/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cflib/crazyflie/mem/__init__.py b/cflib/crazyflie/mem/__init__.py index c9874d531..b195c3691 100644 --- a/cflib/crazyflie/mem/__init__.py +++ b/cflib/crazyflie/mem/__init__.py @@ -77,7 +77,7 @@ class _ReadRequest: Class used to handle memory reads that will split up the read in multiple packets if necessary """ - MAX_DATA_LENGTH = 20 + MAX_DATA_LENGTH = 24 def __init__(self, mem, addr, length, cf): """Initialize the object with good defaults""" @@ -141,7 +141,7 @@ class _WriteRequest: Class used to handle memory reads that will split up the read in multiple packets in necessary """ - MAX_DATA_LENGTH = 25 + MAX_DATA_LENGTH = 24 def __init__(self, mem, addr, data, cf, progress_cb=None): """Initialize the object with good defaults"""