From bfbc31ec6c4efa122714753e81d297aa35379d66 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Wed, 13 Sep 2023 10:41:32 -0700 Subject: [PATCH] Update src/core/mac/mac.cpp --- src/core/mac/mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index 99c0343bf30..16a8687dbca 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -340,7 +340,7 @@ void Mac::PerformEnergyScan(void) } else { - if(!GetRxOnWhenIdle()) + if (!GetRxOnWhenIdle()) { mLinks.Receive(mScanChannel); }