summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/timer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libcamera/timer.h b/include/libcamera/timer.h
index 476ae45f..09f426a5 100644
--- a/include/libcamera/timer.h
+++ b/include/libcamera/timer.h
@@ -24,11 +24,10 @@ public:
~Timer();
void start(unsigned int msec) { start(std::chrono::milliseconds(msec)); }
- void start(std::chrono::milliseconds interval);
+ void start(std::chrono::milliseconds duration);
void stop();
bool isRunning() const;
- std::chrono::milliseconds interval() const { return interval_; }
std::chrono::steady_clock::time_point deadline() const { return deadline_; }
Signal<Timer *> timeout;
@@ -40,7 +39,6 @@ private:
void registerTimer();
void unregisterTimer();
- std::chrono::milliseconds interval_;
std::chrono::steady_clock::time_point deadline_;
};