Skip to content

Commit 483d680

Browse files
committed
autotest: install hok in context
busted sanity check allowed this to survive
1 parent 890a831 commit 483d680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/autotest/arduplane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3013,7 +3013,7 @@ def record_maxalt(mav, m):
30133013
if m.relative_alt/1000.0 > max_alt:
30143014
max_alt = m.relative_alt/1000.0
30153015

3016-
self.install_message_hook(record_maxalt)
3016+
self.install_message_hook_context(record_maxalt)
30173017

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

0 commit comments

Comments
 (0)