summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/net/slip.c2
-rw-r--r--nuttx/drivers/usbhost/Make.defs6
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/drivers/net/slip.c b/nuttx/drivers/net/slip.c
index fab395b72..37e57f77b 100644
--- a/nuttx/drivers/net/slip.c
+++ b/nuttx/drivers/net/slip.c
@@ -72,7 +72,7 @@
/* Configuration ************************************************************/
#if UIP_LLH_LEN > 0
-# error "CONFIG_NET_LLH_LEN must be set to zero"
+# error "UIP_LLH_LEN must be set to zero"
#endif
#ifndef CONFIG_SLIP_STACKSIZE
diff --git a/nuttx/drivers/usbhost/Make.defs b/nuttx/drivers/usbhost/Make.defs
index 531ff983d..9587cab08 100644
--- a/nuttx/drivers/usbhost/Make.defs
+++ b/nuttx/drivers/usbhost/Make.defs
@@ -39,7 +39,7 @@ USBHOST_CSRCS = hid_parser.c
ifeq ($(CONFIG_USBHOST),y)
USBHOST_CSRCS += usbhost_registry.c usbhost_registerclass.c usbhost_findclass.c
USBHOST_CSRCS += usbhost_enumerate.c usbhost_storage.c usbhost_hidkbd.c
-#ifeq ($(CONFIG_NET),y)
-USBHOST_CSRCS += usbhost_rtl8187.c
-#endif
+ifeq ($(CONFIG_NET),y)
+ USBHOST_CSRCS += usbhost_rtl8187.c
+endif
endif