mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 20:53:33 +08:00
orb: add orb_get_interval to API
This commit is contained in:
@@ -232,6 +232,11 @@ extern int orb_priority(int handle, int32_t *priority) __EXPORT;
|
||||
*/
|
||||
extern int orb_set_interval(int handle, unsigned interval) __EXPORT;
|
||||
|
||||
/**
|
||||
* @see uORB::Manager::orb_get_interval()
|
||||
*/
|
||||
extern int orb_get_interval(int handle, unsigned *interval) __EXPORT;
|
||||
|
||||
__END_DECLS
|
||||
|
||||
/* Diverse uORB header defines */ //XXX: move to better location
|
||||
|
||||
Reference in New Issue
Block a user