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:
Daniel Agar 2022-01-11 14:35:54 -05:00
parent 81ecd130fc
commit 98a9748bb8
1 changed files with 1 additions and 1 deletions

View File

@ -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};
};