Commit 0e96ae12 authored by DonLakeFlyer's avatar DonLakeFlyer

Shows values for unknown flight mode

parent 950ee021
......@@ -170,6 +170,7 @@ QString PX4FirmwarePlugin::flightMode(uint8_t base_mode, uint32_t custom_mode) c
if (!found) {
qWarning() << "Unknown flight mode" << custom_mode;
return tr("Unknown %1:%2").arg(base_mode).arg(custom_mode);
}
} else {
qWarning() << "PX4 Flight Stack flight mode without custom mode enabled?";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment