From 672d29fbcc3ff31b7459ef4486da7f2f42037a24 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 14 Sep 2019 16:02:33 +0200 Subject: [PATCH] [fix] WakeupMgr: pass through task epoch for proximity check --- frontend/device/wakeupmgr.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/device/wakeupmgr.lua b/frontend/device/wakeupmgr.lua index f96557d0b..6a76e3978 100644 --- a/frontend/device/wakeupmgr.lua +++ b/frontend/device/wakeupmgr.lua @@ -170,8 +170,8 @@ Checks if we set the alarm. Simple wrapper for @{ffi.rtc.validateWakeupAlarmByProximity}. --]] -function WakeupMgr:validateWakeupAlarmByProximity() - return RTC:validateWakeupAlarmByProximity() +function WakeupMgr:validateWakeupAlarmByProximity(task_alarm_epoch, proximity) + return RTC:validateWakeupAlarmByProximity(task_alarm_epoch, proximity) end --[[--