Fix compile issues

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2377 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-12-17 20:28:00 +00:00
parent 74e2893056
commit 8ed8fb28a8
2 changed files with 4 additions and 2 deletions

View File

@ -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" */
}

View File

@ -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)
{