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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user