mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 13:53:35 +08:00
advertise esc_status where is publishes
- esc_status is an optional logging topic resulting in it not being logged if it doesn't get advertise -> Add advertise where applicable
This commit is contained in:
@@ -75,6 +75,8 @@ ModalIo::ModalIo() :
|
||||
_esc_status.esc[i].esc_power = 0;
|
||||
}
|
||||
|
||||
_esc_status_pub.advertise();
|
||||
|
||||
qc_esc_packet_init(&_fb_packet);
|
||||
qc_esc_packet_init(&_uart_bridge_packet);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user