mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Plane: fix suppressing comment for case fall through
No functional change eclipse stops complaining if no-break is used in place of fall-through
This commit is contained in:
parent
5f60961866
commit
c3b6fd4315
@ -611,7 +611,7 @@ void Plane::update_flight_mode(void)
|
||||
quadplane.guided_update();
|
||||
break;
|
||||
}
|
||||
// fall through
|
||||
// no break
|
||||
|
||||
case RTL:
|
||||
case LOITER:
|
||||
@ -834,7 +834,7 @@ void Plane::update_navigation()
|
||||
if (radius > 0) {
|
||||
loiter.direction = (g.rtl_radius < 0) ? -1 : 1;
|
||||
}
|
||||
// fall through to LOITER
|
||||
// no break, fall through to LOITER
|
||||
|
||||
case LOITER:
|
||||
case AVOID_ADSB:
|
||||
|
@ -7,7 +7,7 @@ void Plane::set_nav_controller(void)
|
||||
|
||||
default:
|
||||
case AP_Navigation::CONTROLLER_DEFAULT:
|
||||
// fall through to L1 as default controller
|
||||
// no break, fall through to L1 as default controller
|
||||
|
||||
case AP_Navigation::CONTROLLER_L1:
|
||||
nav_controller = &L1_controller;
|
||||
|
Loading…
Reference in New Issue
Block a user