Skip to content

Commit 0d5cb5c

Browse files
author
robert
committed
undef ENET
1 parent e0740fc commit 0d5cb5c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mongoose.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24059,6 +24059,7 @@ struct ENET_Type {
2405924059
CHANNEL_TCSR[4], CHANNEL_TCCR[4];
2406024060
};
2406124061

24062+
#undef ENET
2406224063
#define ENET ((struct ENET_Type *) 0x40138000)
2406324064

2406424065
#define ETH_PKT_SIZE 1536 // Max frame size

src/drivers/rw612.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ struct ENET_Type {
2626
CHANNEL_TCSR[4], CHANNEL_TCCR[4];
2727
};
2828

29+
#undef ENET
2930
#define ENET ((struct ENET_Type *) 0x40138000)
3031

3132
#define ETH_PKT_SIZE 1536 // Max frame size

0 commit comments

Comments
 (0)