]> git.feebdaed.xyz Git - 0xmirror/mongoose.git/commitdiff
undef ENET
authorrobert <ubuntu@ubuntu-2204.linuxvmimages.local>
Thu, 13 Nov 2025 13:02:55 +0000 (08:02 -0500)
committerrobert <ubuntu@ubuntu-2204.linuxvmimages.local>
Thu, 13 Nov 2025 13:02:55 +0000 (08:02 -0500)
mongoose.c
src/drivers/rw612.c

index 8326cdcede39f72bcf6d43cd9002373652eda654..8ab35e3e52ccddeda97e29eaddd78e72e79f9b0c 100644 (file)
@@ -24059,6 +24059,7 @@ struct ENET_Type {
       CHANNEL_TCSR[4], CHANNEL_TCCR[4];
 };
 
+#undef ENET
 #define ENET ((struct ENET_Type *) 0x40138000)
 
 #define ETH_PKT_SIZE 1536  // Max frame size
index 8c80373a6e844c2b17fb1c68f4b5a2aa37010fc7..af2b6ddae58d70f114a6b50200ee1154cd4a6cb0 100644 (file)
@@ -26,6 +26,7 @@ struct ENET_Type {
       CHANNEL_TCSR[4], CHANNEL_TCCR[4];
 };
 
+#undef ENET
 #define ENET ((struct ENET_Type *) 0x40138000)
 
 #define ETH_PKT_SIZE 1536  // Max frame size