diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-08-16 17:25:45 +0300 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-10-10 17:52:36 +0200 |
| commit | 964f065de43bf2e5b681d9ca3ebc1e335843a717 (patch) | |
| tree | 7833849c553c82f3be4c73955ea408de160e5221 /src/systemtask/SystemTask.cpp | |
| parent | 318a97c21808ace1367e8ea68813e00731653c33 (diff) | |
Fix clang-tidy warnings
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
| -rw-r--r-- | src/systemtask/SystemTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 1c871fd2..ef631af7 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -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; } } |
