Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions sys/arduino/include/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @brief Wrapper to keep source code compatibility for Arduino.h
Expand All @@ -14,9 +16,7 @@
* @{
*/

#ifndef ARDUINO_H
#define ARDUINO_H

Check warning on line 19 in sys/arduino/include/Arduino.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#ifdef __cplusplus
#include "arduino.hpp"
#endif
Expand All @@ -29,5 +29,4 @@
}
#endif

#endif /* ARDUINO_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/SPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @{
Expand All @@ -16,9 +18,7 @@
* @author Marian Buschsieweke <[email protected]>
*/

#ifndef SPI_H
#define SPI_H

Check warning on line 21 in sys/arduino/include/SPI.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#ifndef MODULE_PERIPH_SPI
#error "No SPI support on your board"
#endif
Expand All @@ -39,6 +39,5 @@
}
#endif

#endif /* SPI_H */

Check warning on line 42 in sys/arduino/include/SPI.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @brief Wrapper to keep source code compatibility for Wire.h
Expand All @@ -14,9 +16,7 @@
* @{
*/

#ifndef WIRE_H
#define WIRE_H

Check warning on line 19 in sys/arduino/include/Wire.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#ifndef MODULE_PERIPH_I2C
#error "No I2C support on your board"
#endif
Expand All @@ -33,5 +33,4 @@
}
#endif

#endif /* WIRE_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/arduino_board.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @{
Expand All @@ -19,9 +21,7 @@
* @author Thomas Perrot <[email protected]>
*/

#ifndef ARDUINO_BOARD_H
#define ARDUINO_BOARD_H

Check warning on line 24 in sys/arduino/include/arduino_board.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#include "arduino_board_analog.h"
#include "arduino_board_pins.h"
#include "arduino_board_pwm.h"
Expand Down Expand Up @@ -62,5 +62,4 @@
}
#endif

#endif /* ARDUINO_BOARD_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/arduino_board_analog.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @{
Expand All @@ -20,9 +22,7 @@
* @author Marian Buschsieweke <[email protected]>
*/

#ifndef ARDUINO_BOARD_ANALOG_H
#define ARDUINO_BOARD_ANALOG_H

Check warning on line 25 in sys/arduino/include/arduino_board_analog.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#include "periph/adc.h"
#include "arduino_iomap.h"

Expand Down Expand Up @@ -160,5 +160,4 @@
}
#endif

#endif /* ARDUINO_BOARD_ANALOG_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/arduino_board_pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @{
Expand All @@ -20,9 +22,7 @@
* @author Marian Buschsieweke <[email protected]>
*/

#ifndef ARDUINO_BOARD_PINS_H
#define ARDUINO_BOARD_PINS_H

Check warning on line 25 in sys/arduino/include/arduino_board_pins.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#include "arduino_iomap.h"
#include "periph/gpio.h"

Expand Down Expand Up @@ -432,5 +432,4 @@
}
#endif

#endif /* ARDUINO_BOARD_PINS_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/arduino/include/arduino_board_pwm.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_arduino
* @{
Expand All @@ -20,9 +22,7 @@
* @author Marian Buschsieweke <[email protected]>
*/

#ifndef ARDUINO_BOARD_PWM_H
#define ARDUINO_BOARD_PWM_H

Check warning on line 25 in sys/arduino/include/arduino_board_pwm.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#include "arduino_iomap.h"
#include "periph/pwm.h"

Expand Down Expand Up @@ -160,5 +160,4 @@
}
#endif

#endif /* ARDUINO_BOARD_PWM_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/auto_init/include/auto_init_priorities.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_auto_init
*
Expand All @@ -16,9 +18,7 @@
* @author Fabian Hüßler <[email protected]>
*/

#ifndef AUTO_INIT_PRIORITIES_H
#define AUTO_INIT_PRIORITIES_H

Check warning on line 21 in sys/auto_init/include/auto_init_priorities.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -400,5 +400,4 @@
}
#endif

#endif /* AUTO_INIT_PRIORITIES_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/clif/include/clif_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @ingroup sys_clif
*
Expand All @@ -16,8 +18,6 @@
*
* @author Leandro Lanzieri <[email protected]>
*/
#ifndef CLIF_INTERNAL_H
#define CLIF_INTERNAL_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -151,5 +151,4 @@ extern "C" {
}
#endif

#endif /* CLIF_INTERNAL_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/crypto/psa_riot_cipher/aes_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @cond
* @ingroup sys_crypto
Expand All @@ -17,9 +19,7 @@
*
*/

#ifndef AES_COMMON_H
#define AES_COMMON_H

Check warning on line 22 in sys/crypto/psa_riot_cipher/aes_common.h

View workflow job for this annotation

GitHub Actions / static-tests

too many consecutive empty lines
#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -51,6 +51,5 @@
}
#endif

#endif /* AES_COMMON_H */
/** @} */
/** @endcond */
5 changes: 2 additions & 3 deletions sys/embunit/ColorTextColors.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
* directory for more details.
*/

#pragma once

/**
* @{
*
* @file
*
* @author Janos Kutscherauer <[email protected]>
*/
#ifndef COLORTEXTCOLORS_H
#define COLORTEXTCOLORS_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -53,5 +53,4 @@ extern "C" {
}
#endif

#endif /* COLORTEXTCOLORS_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/fs/devfs/random-vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*
*/

#pragma once

/**
* @ingroup sys_fs_devfs
* @{
Expand All @@ -17,8 +19,6 @@
* @author Vincent Dupont <[email protected]>
*/

#ifndef RANDOM_VFS_H
#define RANDOM_VFS_H

#include "vfs.h"

Expand All @@ -44,5 +44,4 @@ extern const vfs_file_ops_t random_vfs_ops;
}
#endif

#endif /* RANDOM_VFS_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/include/analog_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @defgroup sys_analog_util Analog data conversion utilities
* @ingroup sys
Expand All @@ -18,8 +20,6 @@
* @author Hauke Petersen <[email protected]>
*/

#ifndef ANALOG_UTIL_H
#define ANALOG_UTIL_H

#include <stdint.h>

Expand Down Expand Up @@ -90,5 +90,4 @@ uint16_t dac_util_mapf(float value, float min, float max);
}
#endif

#endif /* ANALOG_UTIL_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/include/app_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* directory for more details.
*/

#pragma once

/**
* @defgroup sys_app_metadata app_metadata
* @ingroup sys
Expand All @@ -15,8 +17,6 @@
* @author Kevin Weiss <[email protected]>
*/

#ifndef APP_METADATA_H
#define APP_METADATA_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -50,5 +50,4 @@ void app_metadata_print_json(void);
}
#endif

#endif /* APP_METADATA_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/include/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* details.
*/

#pragma once

/**
* @defgroup sys_architecture Platform-independent access to architecture
* details
Expand All @@ -21,8 +23,6 @@
* @author Marian Buschsieweke <[email protected]>
*/

#ifndef ARCHITECTURE_H
#define ARCHITECTURE_H

#include <stdint.h>
#include <inttypes.h>
Expand Down Expand Up @@ -229,5 +229,4 @@ typedef uintptr_t uinttxtptr_t;
}
#endif

#endif /* ARCHITECTURE_H */
/** @} */
5 changes: 2 additions & 3 deletions sys/include/auto_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* directory for more details.
*/

#pragma once

/**
* @defgroup sys_auto_init Auto-initialization
* @ingroup sys
Expand Down Expand Up @@ -105,8 +107,6 @@
* @author Alexandre Abadie <[email protected]>
*/

#ifndef AUTO_INIT_H
#define AUTO_INIT_H

#ifdef __cplusplus
extern "C" {
Expand All @@ -126,4 +126,3 @@ void auto_init(void);
#endif

/** @} */
#endif /* AUTO_INIT_H */
Loading