diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-17 20:28:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-17 20:28:00 +0000 |
commit | 0fd1c41db719e9b4f13c2f5ffac249e262f669a7 (patch) | |
tree | f257f8a696168891bd3809d9424715df68c83727 | |
parent | d3460ffca8719e905c4af616d6041ee35e27f54f (diff) | |
download | px4-nuttx-0fd1c41db719e9b4f13c2f5ffac249e262f669a7.tar.gz px4-nuttx-0fd1c41db719e9b4f13c2f5ffac249e262f669a7.tar.bz2 px4-nuttx-0fd1c41db719e9b4f13c2f5ffac249e262f669a7.zip |
Fix compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2377 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/arm/src/c5471/c5471_ethernet.c | 4 | ||||
-rw-r--r-- | nuttx/examples/uip/main.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_ethernet.c b/nuttx/arch/arm/src/c5471/c5471_ethernet.c index 3395fd3b3..25fa3cba1 100644 --- a/nuttx/arch/arm/src/c5471/c5471_ethernet.c +++ b/nuttx/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/nuttx/examples/uip/main.c b/nuttx/examples/uip/main.c index 9cf490ca1..d5df1f807 100644 --- a/nuttx/examples/uip/main.c +++ b/nuttx/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) { |