Skip to content

Commit 0cc923e

Browse files
committed
Add documentation
1 parent 6c7df32 commit 0cc923e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/BoschSensortec.h

+2-1
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

src/sensors/SensorTypes.h

+1
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)