mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: remove constant in target_component check when downloading mission
This commit is contained in:
parent
2e2ffbe4ac
commit
430e52a91b
@ -7574,7 +7574,7 @@ Also, ignores heartbeats not from our target system'''
|
||||
raise NotAchievedException("Received MISSION_ACK while waiting for MISSION_COUNT")
|
||||
if m.get_type() != 'MISSION_COUNT':
|
||||
continue
|
||||
if m.target_component != 250: # FIXME: constant?!
|
||||
if m.target_component != self.mav.source_system:
|
||||
continue
|
||||
if m.mission_type != mission_type:
|
||||
raise NotAchievedException("Mission count response of incorrect type")
|
||||
|
Loading…
Reference in New Issue
Block a user