From 2758b2c4be5e2fd679646c7c2a6ebe273310b7a5 Mon Sep 17 00:00:00 2001 From: FUJIURA Toyonori Date: Mon, 21 Mar 2022 14:20:29 +0900 Subject: [PATCH] Wrong syntax. --- src/TaskBeacon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TaskBeacon.cpp b/src/TaskBeacon.cpp index 8f9d3a9..574b299 100644 --- a/src/TaskBeacon.cpp +++ b/src/TaskBeacon.cpp @@ -44,8 +44,7 @@ bool BeaconTask::loop(System &system) { } // check for beacon - if (_beacon_timer.check()) { - if setBeacon (system) { + if (setBeacon(system)) { _beacon_timer.start(); } }