mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-15 02:08:08 +08:00
Compile driver_stm32.c only for __arm__
This commit is contained in:
parent
a71262437d
commit
5a448ab4f5
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user