From d9c0ece74556b15d80fe3273ec124cf76d750c6e Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 24 Jan 2024 10:01:43 +0100 Subject: [PATCH] Remember new timing settings --- src/timer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timer.cpp b/src/timer.cpp index 2c60202..69fa699 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -87,6 +87,8 @@ void sc::timer::start() { void sc::timer::start(double time, bool repeat) { if (!is_armed()) { + _time = time; + _repeat = repeat; setup_timer(time, repeat); } }