GCS_Common: fix unannotated fall-through between switch labels

This commit is contained in:
Siddharth Purohit 2020-03-09 17:58:16 +05:30 committed by Andrew Tridgell
parent afc0cf8f3b
commit b0cbbb4bea

View File

@ -3592,10 +3592,10 @@ MAV_RESULT GCS_MAVLINK::handle_command_preflight_can(const mavlink_command_long_
can_exists = true;
result = ap_kdecan->run_enumeration(start_stop) && result;
}
break;
#else
UNUSED_RESULT(start_stop); // prevent unused variable error
#endif
break;
}
case AP_BoardConfig_CAN::Protocol_Type_PiccoloCAN:
// TODO - Run PiccoloCAN pre-flight checks here