diff --git a/src/sensor.cpp b/src/sensor.cpp index baebf9d1..3b5f9e2d 100644 --- a/src/sensor.cpp +++ b/src/sensor.cpp @@ -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;