Skip to content

Commit

Permalink
Merge pull request #113 from sebromero/sebromero/documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero authored Nov 1, 2023
2 parents c6f2b0c + 2801bb9 commit 40437b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Arduino_BHY2/src/BoschSensortec.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ extern "C"
#define WORK_BUFFER_SIZE 2048
#endif

//the long sensors are usually of much lower rate, hence smaller demand on buffer size
// The long sensors are usually of much lower rate, hence smaller demand on buffer size
// The queue size can be as low as 2, but 4 turns to be a good balance between size and stability.
#define LONG_SENSOR_QUEUE_SIZE 4

#define MAX_READ_WRITE_LEN 256
Expand Down
1 change: 1 addition & 0 deletions Arduino_BHY2/src/sensors/SensorTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#define SENSOR_DATA_FIXED_LENGTH (10)

// With the introduction of the new sensor 116 ( SENSOR_ID_BSEC2_COLLECTOR), the max sensor packet size is now 21.
#define SENSOR_LONG_DATA_FIXED_LENGTH (21)

#define PARAM_SIZE_LENGTH (20)
Expand Down

0 comments on commit 40437b6

Please sign in to comment.