Update clang-tidy configuration and fix some warnings (#1474)
Don't enable coding conventions from unrelated projects. Only enable generic checks.
This commit is contained in:
parent
bfedf47d1a
commit
afea7ca0d1
24 changed files with 153 additions and 151 deletions
|
|
@ -26,10 +26,9 @@ bool MotionController::Should_RaiseWake(bool isSleeping) {
|
|||
if (not isSleeping) {
|
||||
if (y <= 0) {
|
||||
return false;
|
||||
} else {
|
||||
lastYForWakeUp = 0;
|
||||
return false;
|
||||
}
|
||||
lastYForWakeUp = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (y >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue