Commit e0839441 authored by George Nash's avatar George Nash

Fix build of smart_lock_linux sample when SECURE=0

Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
parent 0619d744
Pipeline #272 passed with stage
in 50 seconds
......@@ -414,8 +414,10 @@ main(void)
#ifdef OC_STORAGE
oc_storage_config("./smart_lock_creds");
oc_set_random_pin_callback(random_pin_cb, NULL);
#endif /* OC_STORAGE */
#ifdef OC_SECURITY
oc_set_random_pin_callback(random_pin_cb, NULL);
#endif
oc_set_con_res_announced(false);
init = oc_main_init(&handler);
......
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