Commit 1325cb2c authored by Michał Więckowski's avatar Michał Więckowski Committed by Kishen Maloor

Make configuration resource unobservable

parent da48ee46
Pipeline #876 passed with stage
in 14 minutes
......@@ -25,6 +25,8 @@
#include <stdio.h>
#include <unistd.h>
static const size_t DEVICE = 0;
static pthread_t event_thread;
static pthread_mutex_t app_sync_lock;
static pthread_mutex_t mutex;
......@@ -646,6 +648,9 @@ main(void)
return -1;
oc_resource_t *con_resource = oc_core_get_resource_by_index(OCF_CON, DEVICE);
oc_resource_set_observable(con_resource, false);
int c;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment