diff --git a/include/ehrenberg/devices/camera.h b/include/ehrenberg/devices/camera.h index b49bfa7..270db74 100644 --- a/include/ehrenberg/devices/camera.h +++ b/include/ehrenberg/devices/camera.h @@ -1,6 +1,6 @@ -#ifndef _BSP_CAM_H -#define _BSP_CAM_H +#ifndef _DEVICES_CAM_H +#define _DEVICES_CAM_H #include "gen/camera.h" -#endif /* _BSP_CAM_H */ +#endif /* _DEVICES_CAM_H */ diff --git a/include/ehrenberg/devices/dma.h b/include/ehrenberg/devices/dma.h index dc8db8e..e41bab5 100644 --- a/include/ehrenberg/devices/dma.h +++ b/include/ehrenberg/devices/dma.h @@ -1,4 +1,4 @@ -#ifndef _DEVICES__DMA_H +#ifndef _DEVICES_DMA_H #define _DEVICES_DMA_H #include "gen/dma.h" diff --git a/include/ehrenberg/devices/i2s.h b/include/ehrenberg/devices/i2s.h index eb807af..e43c7ef 100644 --- a/include/ehrenberg/devices/i2s.h +++ b/include/ehrenberg/devices/i2s.h @@ -1,9 +1,9 @@ -#ifndef _BSP_IIS_H -#define _BSP_IIS_H +#ifndef _DEVICES_IIS_H +#define _DEVICES_IIS_H #include "gen/i2s.h" #define MODE_I2S 1 #define MODE_PDM 2 -#endif /* _BSP_IIS_H */ +#endif /* _DEVICES_IIS_H */ diff --git a/include/ehrenberg/devices/interrupt.h b/include/ehrenberg/devices/interrupt.h index e5b652f..d40e812 100644 --- a/include/ehrenberg/devices/interrupt.h +++ b/include/ehrenberg/devices/interrupt.h @@ -1,5 +1,5 @@ -#ifndef _BSP_INTERRUPT_H -#define _BSP_INTERRUPT_H +#ifndef _DEVICES_INTERRUPT_H +#define _DEVICES_INTERRUPT_H #include @@ -8,4 +8,4 @@ inline void irq_init(volatile irq_t* reg){ } -#endif /* _BSP_INTERRUPT_H */ +#endif /* _DEVICES_INTERRUPT_H */ diff --git a/include/ehrenberg/devices/qspi.h b/include/ehrenberg/devices/qspi.h index 51e1779..2be921e 100644 --- a/include/ehrenberg/devices/qspi.h +++ b/include/ehrenberg/devices/qspi.h @@ -1,5 +1,5 @@ -#ifndef _BSP_QSPI_H -#define _BSP_QSPI_H +#ifndef _DEVICES_QSPI_H +#define _DEVICES_QSPI_H #include #include "gen/apb3spi.h" @@ -87,4 +87,4 @@ static inline void spi_deselect(volatile qspi_t* reg, uint32_t slaveId){ static inline void spi_wait_tx_idle(volatile qspi_t* reg){ while(spi_cmd_avail(reg) < 0x20); } -#endif /* _BSP_QSPI_H */ +#endif /* _DEVICES_QSPI_H */