Fix clang-tidy warnings

This commit is contained in:
Riku Isokoski 2022-08-16 17:25:45 +03:00 committed by JF
parent 318a97c218
commit 964f065de4
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ using namespace Pinetime::Applications;
using namespace Pinetime::Applications::Display; using namespace Pinetime::Applications::Display;
namespace { namespace {
static inline bool in_isr(void) { inline bool in_isr() {
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0; return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0;
} }
} }

View File

@ -22,7 +22,7 @@
using namespace Pinetime::System; using namespace Pinetime::System;
namespace { namespace {
static inline bool in_isr(void) { inline bool in_isr() {
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0; return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0;
} }
} }