mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 01:23:56 -03:00
Copter: show firmware version on param fetch
fixes pull #1320 thanks Arthur!
This commit is contained in:
parent
f4483203ea
commit
f86de61d82
@ -897,6 +897,12 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
|||||||
|
|
||||||
case MAVLINK_MSG_ID_PARAM_REQUEST_LIST: // MAV ID: 21
|
case MAVLINK_MSG_ID_PARAM_REQUEST_LIST: // MAV ID: 21
|
||||||
{
|
{
|
||||||
|
// mark the firmware version in the tlog
|
||||||
|
send_text_P(SEVERITY_LOW, PSTR(FIRMWARE_STRING));
|
||||||
|
|
||||||
|
#if defined(PX4_GIT_VERSION) && defined(NUTTX_GIT_VERSION)
|
||||||
|
send_text_P(SEVERITY_LOW, PSTR("PX4: " PX4_GIT_VERSION " NuttX: " NUTTX_GIT_VERSION));
|
||||||
|
#endif
|
||||||
handle_param_request_list(msg);
|
handle_param_request_list(msg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user