diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-06-05 20:20:24 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-06-10 12:27:12 -0400 |
commit | 36b8831c7e7c4e4481704234fbc27dbe43026f73 (patch) | |
tree | 82c3a4fa93ebec5afc8fd977e459b7ac2805c231 /src/sensor_bulk.h | |
parent | 17c645f000da6fe99bf75fd79f8e622747b1709e (diff) | |
download | kutter-36b8831c7e7c4e4481704234fbc27dbe43026f73.tar.gz kutter-36b8831c7e7c4e4481704234fbc27dbe43026f73.tar.xz kutter-36b8831c7e7c4e4481704234fbc27dbe43026f73.zip |
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>
Diffstat (limited to 'src/sensor_bulk.h')
-rw-r--r-- | src/sensor_bulk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensor_bulk.h b/src/sensor_bulk.h index 9c130bea..c750dbda 100644 --- a/src/sensor_bulk.h +++ b/src/sensor_bulk.h @@ -4,7 +4,7 @@ struct sensor_bulk { uint16_t sequence, possible_overflows; uint8_t data_count; - uint8_t data[52]; + uint8_t data[51]; }; void sensor_bulk_reset(struct sensor_bulk *sb); |