From dad98d99eb8539c0833ac99d6502a42b19bf009b Mon Sep 17 00:00:00 2001 From: Stephen Dade Date: Wed, 25 Sep 2024 13:12:00 +1000 Subject: [PATCH] Tools: Fix message rate setting in tests --- Tools/autotest/vehicle_test_suite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index 20a827ad65e2c8..3e8594968f3f7a 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -6413,8 +6413,8 @@ def context_pop(self, process_interaction_allowed=True, hooks_already_removed=Fa self.remove_message_hook(hook) for script in dead.installed_scripts: self.remove_installed_script(script) - for (message_id, interval_us) in dead.overridden_message_rates.items(): - self.set_message_interval(message_id, interval_us) + for (message_id, rate_hz) in dead.overridden_message_rates.items(): + self.set_message_rate_hz(message_id, rate_hz) for module in dead.installed_modules: print("Removing module (%s)" % module) self.remove_installed_modules(module)