Permalink
Browse files

update tests_ethernet.c to minimac2

  • Loading branch information...
Xiangfu Liu Xiangfu Liu
Xiangfu Liu authored and Xiangfu Liu committed Apr 18, 2011
1 parent 77a3f43 commit 0ac14f0250ce4e01f68989010f1cb9d7edcb3b7a
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/tests_ethernet.c
View
@@ -35,12 +35,10 @@ static int mdio()
static int arp_resolution()
{
- int ethbuf[MICROUDP_BUFSIZE/4];
-
- microudp_start((unsigned char *)FLASH_OFFSET_MAC_ADDRESS, IPTOINT(192, 168, 0, 42), ethbuf);
+ microudp_start((unsigned char *)FLASH_OFFSET_MAC_ADDRESS, IPTOINT(192, 168, 0, 42));
if(!microudp_arp_resolve(IPTOINT(192, 168, 0, 14)))
return TEST_STATUS_FAILED;
- microudp_shutdown();
+
return TEST_STATUS_PASSED;
}

0 comments on commit 0ac14f0

Please sign in to comment.