mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 02:43:33 +08:00
Qurt uORB communicator fixes (#20705)
- there was an issue sending a message from slpi to apps. Seems the code was stuck in an loop and crashed when the message was sent from slpi to apps
This commit is contained in:
@@ -124,17 +124,23 @@ public:
|
||||
static int unadvertise(orb_advert_t handle);
|
||||
|
||||
#ifdef CONFIG_ORB_COMMUNICATOR
|
||||
static int16_t topic_advertised(const orb_metadata *meta);
|
||||
|
||||
/**
|
||||
* processes a request for add subscription from remote
|
||||
* @param rateInHz
|
||||
* Specifies the desired rate for the message.
|
||||
* processes a request for topic advertisement from remote
|
||||
* @param meta
|
||||
* The uORB metadata (usually from the ORB_ID() macro) for the topic.
|
||||
* @return
|
||||
* 0 = success
|
||||
* otherwise failure.
|
||||
*/
|
||||
int16_t process_add_subscription(int32_t rateInHz);
|
||||
static int16_t topic_advertised(const orb_metadata *meta);
|
||||
|
||||
/**
|
||||
* processes a request for add subscription from remote
|
||||
* @return
|
||||
* 0 = success
|
||||
* otherwise failure.
|
||||
*/
|
||||
int16_t process_add_subscription();
|
||||
|
||||
/**
|
||||
* processes a request to remove a subscription from remote.
|
||||
|
||||
Reference in New Issue
Block a user