From 98a9748bb8939c450d4beb0eecc67c79b6bbed6d Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 11 Jan 2022 14:35:54 -0500 Subject: [PATCH] drivers/dshot: use uORB::PublicationMulti for ORB_ID(esc_status) - there can be multiple different outupt modules publishing esc_status (eg dshot & uavcan) --- src/drivers/dshot/DShot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/dshot/DShot.h b/src/drivers/dshot/DShot.h index 84ca6416f7..d76b8f091c 100644 --- a/src/drivers/dshot/DShot.h +++ b/src/drivers/dshot/DShot.h @@ -126,7 +126,7 @@ private: struct Telemetry { DShotTelemetry handler{}; - uORB::PublicationData esc_status_pub{ORB_ID(esc_status)}; + uORB::PublicationMultiData esc_status_pub{ORB_ID(esc_status)}; int last_motor_index{-1}; };