Browse Source

system: just be careful

pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
ca3fa3f7fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/system.cpp

+ 1
- 1
code/espurna/system.cpp View File

@ -332,7 +332,7 @@ constexpr SystemTimer::Duration SystemTimer::DurationMax;
SystemTimer::SystemTimer() = default;
void SystemTimer::start(Duration duration, Callback callback, bool repeat) {
void SystemTimer::start(duration::Milliseconds duration, Callback callback, bool repeat) {
stop();
if (!duration.count()) {
return;


Loading…
Cancel
Save