Copter: landing gear: deal with new range finder state

This commit is contained in:
Iampete1
2026-08-26 17:54:30 +10:00
committed by Andrew Tridgell
parent 0835d20c93
commit 062c3b096b
+1
View File
@@ -18,6 +18,7 @@ void Copter::landinggear_update()
switch (rangefinder.status_orient(ROTATION_PITCH_270)) {
case RangeFinder::Status::NotConnected:
case RangeFinder::Status::NoData:
case RangeFinder::Status::PoweredDown:
// use altitude above home for non-functioning rangefinder
break;