mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
sensor_bulk: Change maximum data size from 52 to 51 bytes
Reduce the maximum data size from 52 bytes to 51 bytes. This will enable support for 2-byte response ids. This change would alter the behavior of the ldc1612 sensor support. Force an ldc1612 command name change so that users are alerted that they must rebuild the micro-controller code upon update of the host code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
17c645f000
commit
36b8831c7e
4 changed files with 5 additions and 5 deletions
|
@ -198,7 +198,7 @@ class ClockSyncRegression:
|
|||
inv_freq = clock_to_print_time(base_mcu + inv_cfreq) - base_time
|
||||
return base_time, base_chip, inv_freq
|
||||
|
||||
MAX_BULK_MSG_SIZE = 52
|
||||
MAX_BULK_MSG_SIZE = 51
|
||||
|
||||
# Read sensor_bulk_data and calculate timestamps for devices that take
|
||||
# samples at a fixed frequency (and produce fixed data size samples).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue