diff options
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/drivers/Kconfig | 2 | ||||
-rw-r--r-- | nuttx/net/Kconfig | 3 | ||||
-rw-r--r-- | nuttx/net/net_allocroute.c | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig index 9923f1ca7..2f022b8d5 100644 --- a/nuttx/drivers/Kconfig +++ b/nuttx/drivers/Kconfig @@ -440,5 +440,3 @@ endif comment "System Logging Device Options" source drivers/syslog/Kconfig - - diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig index d3e7b3b72..719f837d0 100644 --- a/nuttx/net/Kconfig +++ b/nuttx/net/Kconfig @@ -68,8 +68,7 @@ config NET_SOCKOPTS config NET_BUFSIZE int "Network packet size" - default 562 if !NET_TCP && NET_UDP && !NET_SLIP - default 420 if NET_TCP && !NET_UDP && !NET_SLIP + default 562 if !NET_SLIP default 296 if NET_SLIP ---help--- uIP buffer size. Default: 562 diff --git a/nuttx/net/net_allocroute.c b/nuttx/net/net_allocroute.c index eaa94eee7..a13b81d6e 100644 --- a/nuttx/net/net_allocroute.c +++ b/nuttx/net/net_allocroute.c @@ -41,6 +41,7 @@ #include <stdint.h> #include <errno.h> +#include <assert.h> #include <arch/irq.h> |