A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix
This commit is contained in:
parent
42cae1c6c9
commit
bb2dcaa057
572 changed files with 1708 additions and 1708 deletions
|
@ -39,8 +39,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ADC_H__
|
||||
#define __ADC_H__
|
||||
#ifndef ADC_H_
|
||||
#define ADC_H_
|
||||
|
||||
#include <avr/io.h>
|
||||
#include <stdio.h>
|
||||
|
@ -106,5 +106,5 @@ void adc_deinit(void);
|
|||
int adc_conversion_start(void);
|
||||
int16_t adc_result_get(adc_adj_t adjust);
|
||||
|
||||
#endif /* __ADC_H__ */
|
||||
#endif /* ADC_H_ */
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __KEY_H__
|
||||
#define __KEY_H__
|
||||
#ifndef KEY_H_
|
||||
#define KEY_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <avr/io.h>
|
||||
|
@ -93,4 +93,4 @@ key_state_t key_state_get(void);
|
|||
uint8_t is_button(void);
|
||||
uint8_t get_button(void);
|
||||
|
||||
#endif /* __KEY_H__ */
|
||||
#endif /* KEY_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __LCD_H__
|
||||
#define __LCD_H__
|
||||
#ifndef LCD_H_
|
||||
#define LCD_H_
|
||||
|
||||
#include <avr/io.h>
|
||||
#include <avr/interrupt.h>
|
||||
|
@ -347,5 +347,5 @@ void led_on(void);
|
|||
void led_off(void);
|
||||
/** @} */
|
||||
|
||||
#endif /* __LCD_H__ */
|
||||
#endif /* LCD_H_ */
|
||||
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
#ifndef MAIN_H_
|
||||
#define MAIN_H_
|
||||
|
||||
/** \name Logical defines */
|
||||
/** \{ */
|
||||
|
@ -70,4 +70,4 @@
|
|||
/** \} */
|
||||
|
||||
|
||||
#endif /* __MAIN_H__ */
|
||||
#endif /* MAIN_H_ */
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __SLEEP_H__
|
||||
#define __SLEEP_H__
|
||||
#ifndef SLEEP_H_
|
||||
#define SLEEP_H_
|
||||
|
||||
/* Prototypes */
|
||||
void sleep_now(int howlong);
|
||||
void sleep_wakeup(void);
|
||||
|
||||
#endif /* __SLEEP_H__ */
|
||||
#endif /* SLEEP_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __TEMP_H__
|
||||
#define __TEMP_H__
|
||||
#ifndef TEMP_H_
|
||||
#define TEMP_H_
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -90,4 +90,4 @@ void temp_deinit(void);
|
|||
*/
|
||||
int16_t temp_get(temp_unit_t unit);
|
||||
/** \} */
|
||||
#endif /* __TEMP_H__ */
|
||||
#endif /* TEMP_H_ */
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __UART_H__
|
||||
#define __UART_H__ 1
|
||||
#ifndef UART_H_
|
||||
#define UART_H_ 1
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
|
@ -75,4 +75,4 @@ void uart_send_byte(uint8_t byte);
|
|||
void uart_serial_send_frame(uint8_t cmd, uint8_t payload_length, uint8_t *payload);
|
||||
void uart_serial_rcv_frame(uint8_t wait_for_it);
|
||||
|
||||
#endif /* __UART_H__ */
|
||||
#endif /* UART_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue