mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_Airspeed: use 'no break' to resolve compiler warning re switch
This commit is contained in:
parent
10588d6d36
commit
4c76c77239
@ -211,7 +211,7 @@ void AP_Airspeed::read(void)
|
||||
switch ((enum pitot_tube_order)_tube_order.get()) {
|
||||
case PITOT_TUBE_ORDER_NEGATIVE:
|
||||
airspeed_pressure = -airspeed_pressure;
|
||||
// fall thru
|
||||
// no break
|
||||
case PITOT_TUBE_ORDER_POSITIVE:
|
||||
if (airspeed_pressure < -32) {
|
||||
// we're reading more than about -8m/s. The user probably has
|
||||
|
Loading…
Reference in New Issue
Block a user