From 5073c00f174630009a74eaaeba7e3d2ee6e57f8c Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 27 Sep 2020 18:00:28 +0200 Subject: [PATCH] sensor.cpp: comment for ENS count added --- src/sensor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;