Skip to content

Commit

Permalink
Fix PR 1922 regarding EVENT message
Browse files Browse the repository at this point in the history
  • Loading branch information
victor authored and vooon committed Nov 15, 2023
1 parent 52a164e commit 2e20c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mavros/src/plugins/sys_status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ class SystemStatusPlugin : public plugin::Plugin
process_event_normal(severity, px4_id, eventm.arguments);

auto evt_msg = mavros_msgs::msg::StatusEvent();
evt_msg.header.stamp = uas->synchronise_stamp(event_time_boot_ms);
evt_msg.header.stamp = uas->synchronise_stamp(eventm.event_time_boot_ms);
evt_msg.severity = severity;
evt_msg.px4_id = px4_id;
evt_msg.arguments = eventm.arguments;
Expand Down

0 comments on commit 2e20c1c

Please sign in to comment.