projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update snapshot(2018-01-04)
[platform/upstream/iotivity.git]
/
service
/
easy-setup
/
sampleapp
/
enrollee
/
linux
/
enrolleewifi.c
diff --git
a/service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
b/service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
index
ccc096a
..
9382581
100755
(executable)
--- a/
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
+++ b/
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
@@
-326,8
+326,11
@@
void *listeningFunc(void * data)
result = OCProcess();
if (result != OC_STACK_OK)
{
- printf("OC
Stack stop
error");
+ printf("OC
Process
error");
}
+
+ // Sleep for 100 ms to avoid high CPU Utilization.
+ usleep(100 * 1000); // 100 milli-seconds
}
return NULL;
}