forked from Archive/PX4-Autopilot
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:
parent
81ecd130fc
commit
98a9748bb8
|
@ -126,7 +126,7 @@ private:
|
|||
|
||||
struct Telemetry {
|
||||
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};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue