Remove useless comments 61/157461/2
authorEunyoung Lee <ey928.lee@samsung.com>
Tue, 24 Oct 2017 12:40:12 +0000 (21:40 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Tue, 24 Oct 2017 13:03:06 +0000 (22:03 +0900)
Change-Id: I398d9a718c8011a8f9b3797045f624a5b9078e70

inc/resource_internal.h
src/controller.c

index df9c77f8c4de2641c65a8e70dd52e1ae6051cd49..cb751b5e877ab3d7f573fae12f8378a61def79e8 100755 (executable)
@@ -46,7 +46,7 @@ struct _resource_s {
 };
 typedef struct _resource_s resource_s;
 
-typedef void (*resource_read_cb)(float value, void *data);
+typedef void (*resource_read_cb)(double value, void *data);
 
 struct _resource_read_cb_s {
        resource_read_cb cb;
index 053dbc14f0ccef0b9a9095c1474724b68bf8bc0b..274f2baabcfab4c8f21dee923083e2f4194461f8 100644 (file)
@@ -50,7 +50,7 @@ typedef struct app_data_s {
        connectivity_resource_s *resource_info;
 } app_data;
 
-static void _ultrasonic_sensor_read_cb(float value, void *data)
+static void _ultrasonic_sensor_read_cb(double value, void *data)
 {
        app_data *ad = data;
 
@@ -82,7 +82,6 @@ static Eina_Bool _control_sensors_cb(void *data)
 static bool service_app_create(void *data)
 {
        app_data *ad = data;
-       const char *path = NULL;
 
        /**
         * DO NOT EDIT: please don't edit the function below.
@@ -91,17 +90,7 @@ static bool service_app_create(void *data)
        controller_init_internal_functions();
 
        /**
-        * TODO: Get a path of the box.
-        * Get a predefined path based on where the box is placed.(e.g. "/door/1")
-        * The path is a string value that is passed as the first argument to the connectivity_set_resource().
-        */
-
-
-
-
-
-       /**
-        * Creates a connectivity resource and registers the resource in server.
+        * TODO: Creates a connectivity resource and registers the resource in server.
         */