Browse Source

drivers/dshot: use uORB::PublicationMulti for ORB_ID(esc_status)

- there can be multiple different outupt modules publishing esc_status (eg dshot & uavcan)
master
Daniel Agar 3 years ago
parent
commit
98a9748bb8
  1. 2
      src/drivers/dshot/DShot.h

2
src/drivers/dshot/DShot.h

@ -126,7 +126,7 @@ private: @@ -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…
Cancel
Save