diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-12 13:19:09 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-12 13:23:33 -0700 |
commit | 5be7b1ebd1ab2bce1d53552b627fe55f425bdb38 (patch) | |
tree | 890cda05f97bac976c2120ade2df79408bd40c82 /libhw | |
parent | aec7a1209a7c2314acc5703a94509a403c796444 (diff) |
Fuss with compile-time config
Diffstat (limited to 'libhw')
-rw-r--r-- | libhw/w5500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhw/w5500.c b/libhw/w5500.c index ae48a61..a998ccf 100644 --- a/libhw/w5500.c +++ b/libhw/w5500.c @@ -89,11 +89,11 @@ * net.ipv4.ip_local_port_range, so I figure they're probably good * values to use. */ #ifndef CONFIG_W5500_LOCAL_PORT_MIN - #define CONFIG_W5500_LOCAL_PORT_MIN 32768 + #error config.h must define CONFIG_W5500_LOCAL_PORT_MIN #endif #ifndef CONFIG_W5500_LOCAL_PORT_MAX - #define CONFIG_W5500_LOCAL_PORT_MAX 60999 + #error config.h must define CONFIG_W5500_LOCAL_PORT_MAX #endif #ifndef CONFIG_W5500_NUM |