1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00

Merge pull request #10258 from MUSTARDTIGERFPV/fix-mavlink-compid

Change MAVLink component ID to be a "proper" autopilot
This commit is contained in:
Marcelo Bezerra 2024-07-28 00:10:27 +01:00 committed by GitHub
commit 2ac8b7d70a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,7 +184,7 @@ static mavlink_message_t mavRecvMsg;
static mavlink_status_t mavRecvStatus;
static uint8_t mavSystemId = 1;
static uint8_t mavComponentId = MAV_COMP_ID_SYSTEM_CONTROL;
static uint8_t mavComponentId = MAV_COMP_ID_AUTOPILOT1;
static APM_COPTER_MODE inavToArduCopterMap(flightModeForTelemetry_e flightMode)
{