From 8ed8fb28a8b9646f9144ada9cd524c2fb7a38f37 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 17 Dec 2009 20:28:00 +0000 Subject: [PATCH] Fix compile issues git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2377 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/c5471/c5471_ethernet.c | 4 ++-- examples/uip/main.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/c5471/c5471_ethernet.c b/arch/arm/src/c5471/c5471_ethernet.c index 3395fd3b36..25fa3cba12 100644 --- a/arch/arm/src/c5471/c5471_ethernet.c +++ b/arch/arm/src/c5471/c5471_ethernet.c @@ -1875,10 +1875,10 @@ static void c5471_eimconfig(struct c5471_driver_s *c5471) putreg32(pbuf, desc); desc += sizeof(uint32_t); - putreg(0, pbuf); + putreg32(0, pbuf); pbuf += EIM_PACKET_BYTES; - putreg(0, pbuf); + putreg32(0, pbuf); pbuf += sizeof(uint32_t); /* Ether Module's "Buffer Usage Word" */ } diff --git a/examples/uip/main.c b/examples/uip/main.c index 9cf490ca1b..d5df1f8070 100644 --- a/examples/uip/main.c +++ b/examples/uip/main.c @@ -194,9 +194,11 @@ int user_start(int argc, char *argv[]) } #endif +#ifdef CONFIG_NET_TCP printf("Starting webserver\n"); httpd_init(); httpd_listen(); +#endif while(1) {