mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
Compile driver_stm32.c only for __arm__
This commit is contained in:
1 parent
a71262437d
commit
5a448ab4f5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "mip.h"
|
||||
|
||||
#if MG_ENABLE_MIP
|
||||
#if MG_ENABLE_MIP && defined(__arm__)
|
||||
|
||||
struct stm32_eth {
|
||||
uint32_t MACCR, MACFFR, MACHTHR, MACHTLR, MACMIIAR, MACMIIDR, MACFCR,
|
||||
|
||||
+1
-1
@@ -5630,7 +5630,7 @@ size_t mg_ws_wrap(struct mg_connection *c, size_t len, int op) {
|
||||
|
||||
|
||||
|
||||
#if MG_ENABLE_MIP
|
||||
#if MG_ENABLE_MIP && defined(__arm__)
|
||||
|
||||
struct stm32_eth {
|
||||
uint32_t MACCR, MACFFR, MACHTHR, MACHTLR, MACMIIAR, MACMIIDR, MACFCR,
|
||||
|
||||
Reference in new issue
Block a user