net: lwm2m: Convert to new timeout API
Align LWM2M stack implementation with the new timeout API. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
ee255ae548
commit
40ac0a7a7d
5 changed files with 22 additions and 22 deletions
|
@ -122,7 +122,7 @@ static int start_buzzer(struct ipso_buzzer_data *buzzer)
|
|||
lwm2m_engine_set_bool(path, true);
|
||||
|
||||
float2ms(&buzzer->delay_duration, &temp);
|
||||
k_delayed_work_submit(&buzzer->buzzer_work, temp);
|
||||
k_delayed_work_submit(&buzzer->buzzer_work, K_MSEC(temp));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue