Fix code style

(Ran AStyle)
This commit is contained in:
Emmanuel Roussel
2016-04-18 22:27:11 +02:00
committed by Roman
parent 59c9f6b4fb
commit e6b3cf3ac9
5 changed files with 21 additions and 10 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ void LandDetector::cycle()
}
LandDetectionResult current_state = update();
bool landDetected = (current_state==LANDDETECTION_RES_LANDED);
bool freefallDetected = (current_state==LANDDETECTION_RES_FREEFALL);
bool landDetected = (current_state == LANDDETECTION_RES_LANDED);
bool freefallDetected = (current_state == LANDDETECTION_RES_FREEFALL);
// publish if land detection state has changed
if ((_landDetected.landed != landDetected) || (_landDetected.freefall != freefallDetected)) {