sensor.cpp: move sensorbuffer
This commit is contained in:
parent
6463eeb415
commit
34dfb6d1d1
@ -11,8 +11,7 @@
|
||||
|
||||
// Payload send cycle and encoding
|
||||
#define SEND_SECS 30 // payload send cycle [seconds/2] -> 60 sec.
|
||||
#define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed
|
||||
#define SENSORBUFFER 20 // size of user sensor data buffer in bytes [default=20]
|
||||
#define PAYLOAD_ENCODER 3 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed
|
||||
|
||||
// Set this to include BLE counting and vendor filter functions
|
||||
#define VENDORFILTER 1 // comment out if you want to count things, not people
|
||||
|
@ -4,11 +4,12 @@
|
||||
// Local logging tag
|
||||
static const char TAG[] = "main";
|
||||
|
||||
#define SENSORBUFFER 10 // max. size of user sensor data buffer in bytes [default=20]
|
||||
|
||||
void sensor_init(void) {
|
||||
|
||||
// this function is called dureing device startup
|
||||
// put your sensor initialization routines here
|
||||
|
||||
}
|
||||
|
||||
uint8_t sensor_mask(uint8_t sensor_no) {
|
||||
|
Loading…
Reference in New Issue
Block a user