Skip to content

Commit

Permalink
autotest: install hook in context
Browse files Browse the repository at this point in the history
busted sanity check allowed this to survive
  • Loading branch information
peterbarker committed Apr 29, 2024
1 parent 890a831 commit bcf6332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -3013,7 +3013,7 @@ def record_maxalt(mav, m):
if m.relative_alt/1000.0 > max_alt:
max_alt = m.relative_alt/1000.0

self.install_message_hook(record_maxalt)
self.install_message_hook_context(record_maxalt)

self.fly_mission_waypoints(num_wp-1, mission_timeout=600)

Expand Down

0 comments on commit bcf6332

Please sign in to comment.