mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 07:23:34 +08:00
drivers/dshot: use uORB::PublicationMulti for ORB_ID(esc_status)
- there can be multiple different outupt modules publishing esc_status (eg dshot & uavcan)
This commit is contained in:
@@ -126,7 +126,7 @@ private:
|
|||||||
|
|
||||||
struct Telemetry {
|
struct Telemetry {
|
||||||
DShotTelemetry handler{};
|
DShotTelemetry handler{};
|
||||||
uORB::PublicationData<esc_status_s> esc_status_pub{ORB_ID(esc_status)};
|
uORB::PublicationMultiData<esc_status_s> esc_status_pub{ORB_ID(esc_status)};
|
||||||
int last_motor_index{-1};
|
int last_motor_index{-1};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user