Skip to content
Snippets Groups Projects
Commit 7e24240e authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Baro: Move to generated uORB topics

parent 33a1e312
No related branches found
No related tags found
No related merge requests found
float32 pressure
float32 altitude
float32 temperature
uint64 timestamp
uint64 error_count
......@@ -50,22 +50,8 @@
#define BARO_BASE_DEVICE_PATH "/dev/baro"
#define BARO0_DEVICE_PATH "/dev/baro0"
/**
* baro report structure. Reads from the device must be in multiples of this
* structure.
*/
struct baro_report {
float pressure;
float altitude;
float temperature;
uint64_t timestamp;
uint64_t error_count;
};
/*
* ObjDev tag for raw barometer data.
*/
ORB_DECLARE(sensor_baro);
#include <uOrb/topics/sensor_baro.h>
#define baro_report sensor_baro_s
/*
* ioctl() definitions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment