From ec3a3a1917446ed24adf0070eeea470a8d28e1e6 Mon Sep 17 00:00:00 2001 From: Jeonghoon Park Date: Tue, 7 Nov 2017 15:16:00 +0900 Subject: [PATCH] apply connectivity function name changes Change-Id: Ia631f40883e3be5fe09bd5f00132aa38da8a4dbd --- src/controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller.c b/src/controller.c index 46c7d0b..9aaeed4 100644 --- a/src/controller.c +++ b/src/controller.c @@ -69,7 +69,7 @@ static bool service_app_create(void *data) controller_init_internal_functions(); #if 0 - ret = connectivity_set_connectivity_type(CONNECTIVITY_TYPE); + ret = connectivity_set_protocol(CONNECTIVITY_PROTOCOL); if (ret != 0) _E("Cannot set connectivity type"); #endif @@ -83,7 +83,7 @@ static bool service_app_create(void *data) * In the control_sensors_cb(), each sensor reads the measured value or writes a specific value to the sensor. */ #if 0 - ad->getter_timer = ecore_timer_add( Duration , _control_sensors_cb, ad); + ad->getter_timer = ecore_timer_add(Duration , _control_sensors_cb, ad); if (!ad->getter_timer) { _E("Failed to add getter timer"); return false; -- 2.7.4