Fix clang-tidy warnings
This commit is contained in:
parent
318a97c218
commit
964f065de4
|
@ -55,7 +55,7 @@ using namespace Pinetime::Applications;
|
|||
using namespace Pinetime::Applications::Display;
|
||||
|
||||
namespace {
|
||||
static inline bool in_isr(void) {
|
||||
inline bool in_isr() {
|
||||
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
using namespace Pinetime::System;
|
||||
|
||||
namespace {
|
||||
static inline bool in_isr(void) {
|
||||
inline bool in_isr() {
|
||||
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) != 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user