orb: add orb_get_interval to API

This commit is contained in:
Beat Küng
2016-06-06 23:27:16 +02:00
committed by Lorenz Meier
parent 0fb0f17ccb
commit e709048fb8
7 changed files with 41 additions and 1 deletions
+5
View File
@@ -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