Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 385b27f9 authored by Qasim Javed's avatar Qasim Javed Committed by Automerger Merge Worker
Browse files

Fake timer periodicity should be set based on it_interval field of am: b63a5308

parents a115c4a2 b63a5308
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ int fake_timerfd_settime(int fd, int flags, const struct itimerspec* new_value,
    return 0;
  }

  uint64_t period_ms = timespec_to_ms(&new_value->it_value);
  uint64_t period_ms = timespec_to_ms(&new_value->it_interval);
  entry->trigger_ms = clock + trigger_delta_ms;
  entry->period_ms = period_ms;
  return 0;