From 958d92da59fe596890af5c28ac778581fc875e95 Mon Sep 17 00:00:00 2001 From: junkyu han Date: Fri, 18 Aug 2017 11:42:37 +0900 Subject: [PATCH] Modify comments Change-Id: I3c024df192584bf38a830b72d44984df438dfb40 --- src/controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller.c b/src/controller.c index 296bce9..6e1e50f 100644 --- a/src/controller.c +++ b/src/controller.c @@ -56,14 +56,14 @@ static Eina_Bool control_sensors_cb(void *data) */ for (i = 0; i < MULTIPLE_SENSOR_NUMBER; i++) { /** - * Infrared motion sensor outputs 1 if motion is detected, or 0 if motion is detected. + * Infrared motion sensor outputs 1 if motion is detected, or 0 if motion is not detected. */ if (resource_read_infrared_motion_sensor(gpio_num[i], &value[i]) == -1) { _E("Failed to get Infrared Motion value [GPIO:%d]", gpio_num[i]); continue; } /** - * If one of the five infrared motion sensors detects motion (1), + * If at least one of the five infrared motion sensors detects motion (1), * it is judged that there is a person (total == 1). */ total |= value[i]; -- 2.7.4