Skip to content

Commit 40437b6

Browse files
authored
Merge pull request #113 from sebromero/sebromero/documentation
2 parents c6f2b0c + 2801bb9 commit 40437b6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Arduino_BHY2/src/BoschSensortec.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ extern "C"
2727
#define WORK_BUFFER_SIZE 2048
2828
#endif
2929

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

3334
#define MAX_READ_WRITE_LEN 256

Arduino_BHY2/src/sensors/SensorTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#define SENSOR_DATA_FIXED_LENGTH (10)
88

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

1112
#define PARAM_SIZE_LENGTH (20)

0 commit comments

Comments
 (0)