From 09e89c867c8dc14adee298176a0a4c72d8f32245 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 7 Aug 2012 16:54:36 +0200 Subject: Split out reusable parts into the laks project. --- drivers/gps.h | 10 +++++----- drivers/l3gd20.h | 4 ++-- drivers/lsm303dlm.h | 2 +- drivers/ppmsum.cpp | 2 +- drivers/ppmsum.h | 4 ++-- drivers/xbee.cpp | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) (limited to 'drivers') diff --git a/drivers/gps.h b/drivers/gps.h index 16a971b..2fcbf6d 100644 --- a/drivers/gps.h +++ b/drivers/gps.h @@ -1,12 +1,12 @@ #ifndef GPS_H #define GPS_H -#include "rcc.h" -#include "usart.h" -#include "interrupt.h" -#include "thread.h" +#include +#include +#include +#include -#include "pool.h" +#include struct GPSMsg { unsigned int n; diff --git a/drivers/l3gd20.h b/drivers/l3gd20.h index c7e8935..56dff08 100644 --- a/drivers/l3gd20.h +++ b/drivers/l3gd20.h @@ -1,8 +1,8 @@ #ifndef L3GD20_H #define L3GD20_H -#include "pin.h" -#include "spi.h" +#include +#include class L3GD20 { private: diff --git a/drivers/lsm303dlm.h b/drivers/lsm303dlm.h index 1c4956d..8d25b38 100644 --- a/drivers/lsm303dlm.h +++ b/drivers/lsm303dlm.h @@ -1,7 +1,7 @@ #ifndef LSM303DLM_H #define LSM303DLM_H -#include "i2c.h" +#include class LSM303DLM_A { private: diff --git a/drivers/ppmsum.cpp b/drivers/ppmsum.cpp index c1bd101..24d62ac 100644 --- a/drivers/ppmsum.cpp +++ b/drivers/ppmsum.cpp @@ -1,6 +1,6 @@ #include "ppmsum.h" -#include "rcc.h" +#include PPMSum* PPMSum::self = 0; diff --git a/drivers/ppmsum.h b/drivers/ppmsum.h index a522b57..98c2984 100644 --- a/drivers/ppmsum.h +++ b/drivers/ppmsum.h @@ -2,8 +2,8 @@ #define PPMSUM_H #include -#include "timer.h" -#include "interrupt.h" +#include +#include class PPMSum { friend void interrupt(); diff --git a/drivers/xbee.cpp b/drivers/xbee.cpp index efee619..d23903b 100644 --- a/drivers/xbee.cpp +++ b/drivers/xbee.cpp @@ -1,7 +1,7 @@ #include "xbee.h" -#include "usart.h" -#include "mutex.h" +#include +#include Mutex xbee_mutex; -- cgit v1.2.3