From 8d46e9181b76bbe2c2869a876d1c1710b8b1a70f Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Tue, 23 Jan 2024 10:17:15 +0100 Subject: [PATCH] Update libraries/SrcWrapper/src/HardwareTimer.cpp Signed-off-by: Frederic Pillon --- libraries/SrcWrapper/src/HardwareTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SrcWrapper/src/HardwareTimer.cpp b/libraries/SrcWrapper/src/HardwareTimer.cpp index d6e526876e..304b169c92 100644 --- a/libraries/SrcWrapper/src/HardwareTimer.cpp +++ b/libraries/SrcWrapper/src/HardwareTimer.cpp @@ -168,7 +168,7 @@ void HardwareTimer::pause() */ void HardwareTimer::pauseChannel(uint32_t channel) { - if (channel < 1 || channel > TIMER_CHANNELS) { + if ((channel < 1) || (channel > TIMER_CHANNELS)) { return; }