sensor.cpp: move sensorbuffer

This commit is contained in:
Klaus K Wilting 2018-11-21 11:12:39 +01:00
parent 6463eeb415
commit 34dfb6d1d1
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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) {