1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

drivers/include/periph: Repair header file include guards

This commit is contained in:
Alexandru Caciulescu 2015-03-23 22:07:50 +02:00
parent 2b88c861c9
commit 451bf78549
12 changed files with 36 additions and 36 deletions

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __ADC_H
#define __ADC_H
#ifndef ADC_H
#define ADC_H
#include "periph_conf.h"
@ -141,5 +141,5 @@ float adc_mapf(adc_t dev, int value, float min, float max);
}
#endif
#endif /* __ADC_H */
#endif /* ADC_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef __PERIPH_CPUID_H_
#define __PERIPH_CPUID_H_
#ifndef PERIPH_CPUID_H_
#define PERIPH_CPUID_H_
#include "cpu-conf.h"
@ -51,7 +51,7 @@ void cpuid_get(void *id);
}
#endif
#endif /* __PERIPH_CPUID_H_ */
#endif /* PERIPH_CPUID_H_ */
/**
* @}
*/

View File

@ -18,8 +18,8 @@
* @author Simon Brummer <simon.brummer@haw-hamburg.de>
*/
#ifndef __DAC_H
#define __DAC_H
#ifndef DAC_H
#define DAC_H
#include <stdint.h>
#include "periph_conf.h"
@ -148,5 +148,5 @@ uint16_t dac_mapf(dac_t dev, float value, float min, float max);
#ifdef __cplusplus
}
#endif
#endif /* __DAC_H */
#endif /* DAC_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __GPIO_H
#define __GPIO_H
#ifndef GPIO_H
#define GPIO_H
#include "periph_conf.h"
@ -259,5 +259,5 @@ void gpio_write(gpio_t dev, int value);
}
#endif
#endif /* __GPIO_H */
#endif /* GPIO_H */
/** @} */

View File

@ -49,8 +49,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/
#ifndef __I2C_H
#define __I2C_H
#ifndef I2C_H
#define I2C_H
#include <stdint.h>
@ -267,5 +267,5 @@ void i2c_poweroff(i2c_t dev);
}
#endif
#endif /* __I2C_H */
#endif /* I2C_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __PWM_H
#define __PWM_H
#ifndef PWM_H
#define PWM_H
#include "periph_conf.h"
@ -137,5 +137,5 @@ void pwm_poweroff(pwm_t dev);
}
#endif
#endif /* __PWM_H */
#endif /* PWM_H */
/** @} */

View File

@ -26,8 +26,8 @@
* @author Christian Mehlis <mehlis@inf.fu-berlin.de>
*/
#ifndef __RANDOM_H
#define __RANDOM_H
#ifndef RANDOM_H
#define RANDOM_H
#include "periph_conf.h"
@ -77,5 +77,5 @@ void random_poweroff(void);
}
#endif
#endif /* __RANDOM_H */
#endif /* RANDOM_H */
/** @} */

View File

@ -23,8 +23,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/
#ifndef __RTC_H
#define __RTC_H
#ifndef RTC_H
#define RTC_H
#include <time.h>
#include "periph_conf.h"
@ -114,5 +114,5 @@ void rtc_poweroff(void);
}
#endif
#endif /* __RTC_H */
#endif /* RTC_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __RTT_H
#define __RTT_H
#ifndef RTT_H
#define RTT_H
#include "periph_conf.h"
@ -111,5 +111,5 @@ void rtt_poweroff(void);
}
#endif
#endif /* __RTT_H */
#endif /* RTT_H */
/** @} */

View File

@ -22,8 +22,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __SPI_H
#define __SPI_H
#ifndef SPI_H
#define SPI_H
#include "periph_conf.h"
@ -252,5 +252,5 @@ void spi_poweroff(spi_t dev);
}
#endif
#endif /* __SPI_H */
#endif /* SPI_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __TIMER_H
#define __TIMER_H
#ifndef TIMER_H
#define TIMER_H
#include "periph_conf.h"
@ -151,5 +151,5 @@ void timer_reset(tim_t dev);
}
#endif
#endif /* __TIMER_H */
#endif /* TIMER_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef __PERIPH_UART_H
#define __PERIPH_UART_H
#ifndef PERIPH_UART_H
#define PERIPH_UART_H
#include <stdint.h>
@ -179,5 +179,5 @@ void uart_poweroff(uart_t uart);
}
#endif
#endif /* __PERIPH_UART_H */
#endif /* PERIPH_UART_H */
/** @} */