projects
/
apps
/
native
/
position-finder-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8c2da
)
Notify a value typed double
author
Jin Yoon
<jinny.yoon@samsung.com>
Tue, 24 Oct 2017 04:10:47 +0000
(13:10 +0900)
committer
Jin Yoon
<jinny.yoon@samsung.com>
Tue, 24 Oct 2017 04:10:47 +0000
(13:10 +0900)
Change-Id: I606444d55c60b8cbb611b9b1cf17456425fb1fb9
src/controller.c
patch
|
blob
|
history
diff --git
a/src/controller.c
b/src/controller.c
index 449c2ea7a0d6bdce015ef87603a6c790ee66f982..18f3155ee2c9ac25f9824cb64328c2784925150d 100644
(file)
--- a/
src/controller.c
+++ b/
src/controller.c
@@
-37,7
+37,7
@@
typedef struct app_data_s {
static Eina_Bool control_sensors_cb(void *data)
{
-
int value = 0
;
+
double value = 0.0f
;
app_data *ad = data;
/**
@@
-55,7
+55,7
@@
static Eina_Bool control_sensors_cb(void *data)
* Notifies specific clients that resource's attributes have changed.
*/
/*
- if (connectivity_notify_
bool(ad->resource_info, "opened
", value) == -1)
+ if (connectivity_notify_
double(ad->resource_info, "distance
", value) == -1)
_E("Cannot notify message");
*/