Add SENS_MAG_ID parameter

Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
This commit is contained in:
hauptmech
2015-01-17 18:41:43 +01:00
committed by Lorenz Meier
parent 6899a516b3
commit e18e5ca5b5
5 changed files with 31 additions and 1 deletions
+2
View File
@@ -41,9 +41,11 @@
#include <stdint.h>
#include <sys/ioctl.h>
#include "drv_device.h"
#include "drv_sensor.h"
#include "drv_orb_dev.h"
#define MAG_DEVICE_PATH "/dev/mag"
/**