Skip to content

Commit 369d66a

Browse files
committed
[AStyle] Test commit (FAILED)
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 11faa59 commit 369d66a

File tree

3 files changed

+0
-70
lines changed

3 files changed

+0
-70
lines changed

cores/arduino/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#define ARDUINO_MAIN
2121
#include "Arduino.h"
2222

23-
2423
// Weak empty variant initialization function.
2524
// May be redefined by variant files.
2625
void initVariant() __attribute__((weak));

cores/arduino/stm32/twi.c

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,15 @@
3636
******************************************************************************
3737
*/
3838

39-
/** @addtogroup CMSIS
40-
* @{
41-
*/
42-
43-
/** @addtogroup stm32f4xx_system
44-
* @{
45-
*/
46-
47-
/** @addtogroup STM32F4xx_System_Private_Includes
48-
* @{
49-
*/
5039
#include "core_debug.h"
5140
#include "stm32_def.h"
5241
#include "twi.h"
5342
#include "PinAF_STM32F1.h"
5443

55-
/**
56-
* @}
57-
*/
58-
5944
#ifdef __cplusplus
6045
extern "C" {
6146
#endif
6247

63-
/** @addtogroup STM32F4xx_System_Private_TypesDefinitions
64-
* @{
65-
*/
66-
/**
67-
* @}
68-
*/
69-
70-
/** @addtogroup STM32F4xx_System_Private_Defines
71-
* @{
72-
*/
73-
7448
/// @brief I2C timout in tick unit
7549
#define I2C_TIMEOUT_TICK 100
7650

@@ -79,30 +53,6 @@
7953
#define SLAVE_MODE_LISTEN 2
8054

8155

82-
/**
83-
* @}
84-
*/
85-
86-
/** @addtogroup STM32F4xx_System_Private_Macros
87-
* @{
88-
*/
89-
90-
/**
91-
* @}
92-
*/
93-
94-
/** @addtogroup STM32F4xx_System_Private_TypesDefinitions
95-
* @{
96-
*/
97-
98-
/**
99-
* @}
100-
*/
101-
102-
/** @addtogroup STM32F4xx_System_Private_Variables
103-
* @{
104-
*/
105-
10656
/* Family specific description for I2C */
10757
#if defined(STM32F7xx) || defined(STM32L4xx)
10858
#define I2C_NUM (4)
@@ -116,23 +66,6 @@
11666

11767
static I2C_HandleTypeDef* i2c_handles[I2C_NUM];
11868

119-
/**
120-
* @}
121-
*/
122-
123-
/** @addtogroup STM32F4xx_System_Private_FunctionPrototypes
124-
* @{
125-
*/
126-
127-
/**
128-
* @}
129-
*/
130-
131-
/** @addtogroup STM32F4xx_System_Private_Functions
132-
* @{
133-
*/
134-
135-
13669
/**
13770
* @brief Default init and setup GPIO and I2C peripheral
13871
* @param obj : pointer to i2c_t structure

cores/arduino/stm32/twi.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ typedef enum {
141141
#endif
142142
}i2c_timing_e;
143143

144-
/* Exported constants --------------------------------------------------------*/
145-
/* Exported macro ------------------------------------------------------------*/
146144
/* Exported functions ------------------------------------------------------- */
147145
void i2c_init(i2c_t *obj);
148146
void i2c_custom_init(i2c_t *obj, i2c_timing_e timing, uint32_t addressingMode,

0 commit comments

Comments
 (0)