style/ci: apply clang-format and verify it in ci (#4039)
* style: apply clang-format * ci: add new clang-format job to CI
This commit is contained in:
parent
5489f9f07a
commit
4a42344e97
33 changed files with 131 additions and 143 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue