commander: fix tune_control timestamp on initial publication

This commit is contained in:
Parkhb1106 2025-09-25 03:55:32 +09:00 committed by GitHub
parent e71faf38a0
commit 3925562ce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1790,7 +1790,7 @@ void Commander::run()
_power_button_state_sub.copy(&button_state);
tune_control_s tune_control{};
button_state.timestamp = hrt_absolute_time();
tune_control.timestamp = hrt_absolute_time();
tune_control_pub = orb_advertise(ORB_ID(tune_control), &tune_control);
}