Modify comments
authorjunkyu han <junkyu.han@samsung.com>
Fri, 18 Aug 2017 02:42:37 +0000 (11:42 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Fri, 18 Aug 2017 02:42:37 +0000 (11:42 +0900)
Change-Id: I3c024df192584bf38a830b72d44984df438dfb40

src/controller.c

index 296bce9..6e1e50f 100644 (file)
@@ -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];