Skip to content

Commit 650d241

Browse files
committed
Remove useless variant.h include
variant.h is now included thanks stm32_def.h Signed-off-by: Frederic.Pillon <[email protected]>
1 parent a0b033c commit 650d241

File tree

7 files changed

+0
-7
lines changed

7 files changed

+0
-7
lines changed

cores/arduino/stm32/interrupt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
/* Includes ------------------------------------------------------------------*/
4343
#include "stm32_def.h"
44-
#include "variant.h"
4544

4645
#if defined(STM32F3xx)
4746
#define EXTI2_IRQn EXTI2_TSC_IRQn

cores/arduino/stm32/rtc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
/* Includes ------------------------------------------------------------------*/
4343
#include <stdbool.h>
4444
#include "stm32_def.h"
45-
#include "variant.h"
4645
#include "backup.h"
4746
#include "clock.h"
4847

cores/arduino/stm32/stm32_eeprom.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939
/* Includes ------------------------------------------------------------------*/
4040
#include "stm32_def.h"
41-
#include "variant.h"
4241

4342
#ifdef __cplusplus
4443
extern "C" {

cores/arduino/stm32/timer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
/* Includes ------------------------------------------------------------------*/
4343
#include "stm32_def.h"
44-
#include "variant.h"
4544
#include "PinNames.h"
4645

4746
#ifdef __cplusplus

cores/arduino/stm32/twi.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
/* Includes ------------------------------------------------------------------*/
4444
#include "stm32_def.h"
45-
#include "variant.h"
4645
#include "PeripheralPins.h"
4746

4847
#ifdef __cplusplus

cores/arduino/stm32/uart.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
/* Includes ------------------------------------------------------------------*/
4141
#include "stm32_def.h"
42-
#include "variant.h"
4342
#include "PinNames.h"
4443

4544
#ifdef __cplusplus

cores/arduino/stm32/usb/usbd_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ extern "C" {
2828
#ifdef USBCON
2929
/* Includes ------------------------------------------------------------------*/
3030
#include "stm32_def.h"
31-
#include "variant.h"
3231

3332
#if !defined(USB_BASE) && !defined(USB_OTG_DEVICE_BASE)
3433
#error "This board does not support USB! Select 'None' in the 'Tools->USB interface' menu"

0 commit comments

Comments
 (0)