2015-02-03 05:35:20 -04:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
//#include "gmock/gmock.h"
|
|
|
|
|
|
|
|
#include "uORB/uORB.h"
|
|
|
|
|
|
|
|
/******************************************
|
|
|
|
* uORB stubs (incomplete)
|
|
|
|
*
|
|
|
|
* TODO: use googlemock
|
|
|
|
******************************************/
|
|
|
|
|
2015-03-02 15:32:39 -04:00
|
|
|
orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data)
|
|
|
|
{
|
2015-02-03 05:35:20 -04:00
|
|
|
return (orb_advert_t)0;
|
|
|
|
}
|
|
|
|
|
2016-08-12 13:23:05 -03:00
|
|
|
orb_advert_t orb_advertise_queue(const struct orb_metadata *meta, const void *data, unsigned int queue_size)
|
|
|
|
{
|
|
|
|
return (orb_advert_t)0;
|
|
|
|
}
|
|
|
|
|
2015-03-02 15:32:39 -04:00
|
|
|
int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data)
|
|
|
|
{
|
2015-02-03 05:35:20 -04:00
|
|
|
return 0;
|
|
|
|
}
|