diff options
| author | François Conzelmann <45296195+zephvr@users.noreply.github.com> | 2023-12-06 23:54:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 22:54:56 +0000 |
| commit | 4a42344e9748d2b44c55798ddc3fa41448533c4e (patch) | |
| tree | f8a06c575a650be05d629555f4e127115dffe470 /src/init/initHelpers.cpp | |
| parent | 5489f9f07a73c6b5b97702731a5092463a01fb5b (diff) | |
style/ci: apply clang-format and verify it in ci (#4039)
* style: apply clang-format
* ci: add new clang-format job to CI
Diffstat (limited to 'src/init/initHelpers.cpp')
| -rw-r--r-- | src/init/initHelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/initHelpers.cpp b/src/init/initHelpers.cpp index 2a296d2e..2cc491d0 100644 --- a/src/init/initHelpers.cpp +++ b/src/init/initHelpers.cpp @@ -5,8 +5,8 @@ bool Init::isSudo() { } void Init::gainRealTime() { - const int minPrio = sched_get_priority_min(SCHED_RR); - int old_policy; + const int minPrio = sched_get_priority_min(SCHED_RR); + int old_policy; struct sched_param param; if (pthread_getschedparam(pthread_self(), &old_policy, ¶m)) { |
