From 5be7b1ebd1ab2bce1d53552b627fe55f425bdb38 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 12 Nov 2024 13:19:09 -0700 Subject: Fuss with compile-time config --- libhw/w5500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhw') 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 -- cgit v1.2.3-2-g168b