We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633269a commit 48de0fcCopy full SHA for 48de0fc
subsys/net/lib/lwm2m/lwm2m_obj_server.c
@@ -348,7 +348,7 @@ static struct lwm2m_engine_obj_inst *server_create(uint16_t obj_inst_id)
348
}
349
350
/* Set default values */
351
- disabled_until[i] = sys_timepoint_calc(K_NO_WAIT);
+ disabled_until[index] = sys_timepoint_calc(K_NO_WAIT);
352
server_flag_store_notify[index] = 0U;
353
server_id[index] = index + 1;
354
lifetime[index] = CONFIG_LWM2M_ENGINE_DEFAULT_LIFETIME;
0 commit comments