diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-08-07 16:54:36 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-08-07 16:54:36 +0200 |
commit | 09e89c867c8dc14adee298176a0a4c72d8f32245 (patch) | |
tree | 8d125de0b4a1c9d608ddae6ff927fc3624663bd0 /drivers | |
parent | 2fc77d271db27ecb140191c2dfafdba835962ffb (diff) |
Split out reusable parts into the laks project.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gps.h | 10 | ||||
-rw-r--r-- | drivers/l3gd20.h | 4 | ||||
-rw-r--r-- | drivers/lsm303dlm.h | 2 | ||||
-rw-r--r-- | drivers/ppmsum.cpp | 2 | ||||
-rw-r--r-- | drivers/ppmsum.h | 4 | ||||
-rw-r--r-- | drivers/xbee.cpp | 4 |
6 files changed, 13 insertions, 13 deletions
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 <rcc/rcc.h> +#include <usart/usart.h> +#include <interrupt/interrupt.h> +#include <os/thread.h> -#include "pool.h" +#include <os/pool.h> 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 <gpio/pin.h> +#include <spi/spi.h> 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 <i2c/i2c.h> 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 <rcc/rcc.h> 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 <stdint.h> -#include "timer.h" -#include "interrupt.h" +#include <timer/timer.h> +#include <interrupt/interrupt.h> class PPMSum { friend void interrupt<Interrupt::TIM2>(); 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 <usart/usart.h> +#include <os/mutex.h> Mutex xbee_mutex; |