From ce0c7e6cfa18a6b6cc6437cc32bfc59d898ce115 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 18 Dec 2022 14:03:47 +0800 Subject: [PATCH] 1 --- f8/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f8/timer.h b/f8/timer.h index 174bcce..e3e0b61 100644 --- a/f8/timer.h +++ b/f8/timer.h @@ -10,7 +10,7 @@ namespace f8 public: TimerWp(a8::XTimerWp wp): p_(wp) {}; bool expired() { return p_.expired();}; - auto&& lock() { return p_.lock(); }; + auto lock() { return p_.lock(); }; private: a8::XTimerWp p_;