AP_Airspeed: use 'no break' to resolve compiler warning re switch

This commit is contained in:
Randy Mackay 2014-07-15 12:41:59 +09:00
parent 10588d6d36
commit 4c76c77239

View File

@ -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