fixes include guards

This commit is contained in:
Eyck Jentzsch 2024-08-04 13:27:53 +02:00
parent 85ae6c1c59
commit 785cf20e8e
5 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
#ifndef _BSP_CAM_H #ifndef _DEVICES_CAM_H
#define _BSP_CAM_H #define _DEVICES_CAM_H
#include "gen/camera.h" #include "gen/camera.h"
#endif /* _BSP_CAM_H */ #endif /* _DEVICES_CAM_H */

View File

@ -1,4 +1,4 @@
#ifndef _DEVICES__DMA_H #ifndef _DEVICES_DMA_H
#define _DEVICES_DMA_H #define _DEVICES_DMA_H
#include "gen/dma.h" #include "gen/dma.h"

View File

@ -1,9 +1,9 @@
#ifndef _BSP_IIS_H #ifndef _DEVICES_IIS_H
#define _BSP_IIS_H #define _DEVICES_IIS_H
#include "gen/i2s.h" #include "gen/i2s.h"
#define MODE_I2S 1 #define MODE_I2S 1
#define MODE_PDM 2 #define MODE_PDM 2
#endif /* _BSP_IIS_H */ #endif /* _DEVICES_IIS_H */

View File

@ -1,5 +1,5 @@
#ifndef _BSP_INTERRUPT_H #ifndef _DEVICES_INTERRUPT_H
#define _BSP_INTERRUPT_H #define _DEVICES_INTERRUPT_H
#include <stdint.h> #include <stdint.h>
@ -8,4 +8,4 @@
inline void irq_init(volatile irq_t* reg){ inline void irq_init(volatile irq_t* reg){
} }
#endif /* _BSP_INTERRUPT_H */ #endif /* _DEVICES_INTERRUPT_H */

View File

@ -1,5 +1,5 @@
#ifndef _BSP_QSPI_H #ifndef _DEVICES_QSPI_H
#define _BSP_QSPI_H #define _DEVICES_QSPI_H
#include <stdint.h> #include <stdint.h>
#include "gen/apb3spi.h" #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){ static inline void spi_wait_tx_idle(volatile qspi_t* reg){
while(spi_cmd_avail(reg) < 0x20); while(spi_cmd_avail(reg) < 0x20);
} }
#endif /* _BSP_QSPI_H */ #endif /* _DEVICES_QSPI_H */