Skip to content

Commit

Permalink
Update libraries/SrcWrapper/src/HardwareTimer.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm authored Jan 23, 2024
1 parent 28c2c35 commit 8d46e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SrcWrapper/src/HardwareTimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8d46e91

Please sign in to comment.