Skip to content

Commit 72c849f

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 <[email protected]>
1 parent ad95c45 commit 72c849f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utility/ethernetif.c

+2
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)