Skip to content

Commit 343c8c3

Browse files
committed
Remove useless variant.h include
variant.h is now included thanks stm32_def.h See stm32duino/Arduino_Core_STM32#518 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
1 parent 27b579a commit 343c8c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utility/ethernetif.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
#include <string.h>
5353
#include "PeripheralPins.h"
5454
#include "stm32_eth.h"
55+
#if !defined(STM32_CORE_VERSION) || (STM32_CORE_VERSION <= 0x01050000)
5556
#include "variant.h"
57+
#endif
5658

5759
#ifdef __cplusplus
5860
extern "C" {

0 commit comments

Comments
 (0)