From 526e092915ce32bd1994fb57f2f01adeddb7a80c Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Tue, 16 Dec 2025 14:09:09 +0100 Subject: [PATCH] MT#59962 DSM: add float type for setTimer() Support float type for the timers. Change-Id: I0eba27a16e6234e440c3868dcee0f6eb2d0c8673 --- apps/dsm/DSMCoreModule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dsm/DSMCoreModule.cpp b/apps/dsm/DSMCoreModule.cpp index 7f4f5718..e8775559 100644 --- a/apps/dsm/DSMCoreModule.cpp +++ b/apps/dsm/DSMCoreModule.cpp @@ -1135,7 +1135,8 @@ EXEC_ACTION_START(SCSetTimerAction) { EXEC_ACTION_STOP; } - unsigned int timeout; + double timeout; + if (str2int(resolveVars(par2, sess, sc_sess, event_params), timeout)) { ERROR("timeout value '%s' not decipherable\n", resolveVars(par2, sess, sc_sess, event_params).c_str());