blob: 19415a83ffd38396dbea90672d8c9c310f718dc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#include <stdint.h>
#include <sys/types.h>
//#include "gmock/gmock.h"
#include "uORB/uORB.h"
#include <systemlib/param/param.h>
/******************************************
* uORB stubs
******************************************/
/*
struct orb_metadata {
const char *o_name;
const size_t o_size;
};
typedef intptr_t orb_advert_t;
extern orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data);
extern int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data);
*/
orb_advert_t orb_advertise(const struct orb_metadata *meta, const void *data) {
return (orb_advert_t)0;
}
int orb_publish(const struct orb_metadata *meta, orb_advert_t handle, const void *data) {
return 0;
}
/******************************************
* param stubs
******************************************/
//extern param_info_s * __param_start, __param_end;
struct param_info_s param_info_base[5];
param_info_s *__param_start = ¶m_info_base[0];
param_info_s *__param_end = ¶m_info_base[4];
|