removed old stub

This commit is contained in:
Andreas Antener 2015-02-03 10:36:21 +01:00 committed by Lorenz Meier
parent 5cccc01cd4
commit 4ece1f92ca
1 changed files with 0 additions and 37 deletions

View File

@ -1,37 +0,0 @@
#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_array[5];
param_info_s *__param_start = &param_array[0];
param_info_s *__param_end = &param_array[4];