sensor.cpp: comment for ENS count added

This commit is contained in:
Klaus K Wilting committed 2020-09-27 18:00:28 +02:00
1 parent c1095f0c82
commit 5073c00f17
1 file changed
+3 -2
+3 -2
View File
@@ -54,9 +54,10 @@ uint8_t *sensor_read(uint8_t sensor) {
case 1:
// insert user specific sensor data frames here */
// insert user specific sensor data frames here
// note: Sensor1 fields are used for ENS count, if ENS detection enabled
#if (COUNT_ENS)
payload.addCount( cwa_report(), MAC_SNIFF_BLE_CWA);
payload.addCount(cwa_report(), MAC_SNIFF_BLE_CWA);
#else
buf[0] = length;
buf[1] = 0x01;