EthernetNetIf Compatibility.
Dependents: XBeeWiFi_SPI_example
Fork of NetServicesSource by
Diff: if/eth/EthernetNetIf.cpp
- Revision:
- 4:fd826cad83c0
- Parent:
- 2:a4f97773c90f
- Child:
- 5:dd63a1e02b1b
--- a/if/eth/EthernetNetIf.cpp Fri Jun 18 10:38:57 2010 +0000 +++ b/if/eth/EthernetNetIf.cpp Fri Jul 09 14:46:47 2010 +0000 @@ -79,7 +79,7 @@ m_pNetIf->hwaddr_len = ETHARP_HWADDR_LEN; //6 eth_address((char *)m_pNetIf->hwaddr); - DBG("\r\nHW Addr is : %02x:%02x:%02x:%02x:%02x:%02x.\r\n", + DBG("HW Addr is : %02x:%02x:%02x:%02x:%02x:%02x.\n", m_pNetIf->hwaddr[0], m_pNetIf->hwaddr[1], m_pNetIf->hwaddr[2], m_pNetIf->hwaddr[3], m_pNetIf->hwaddr[4], m_pNetIf->hwaddr[5]); @@ -92,7 +92,7 @@ if(m_useDhcp) { dhcp_start(m_pNetIf); - DBG("\r\nDHCP Started, waiting for IP...\r\n"); + DBG("DHCP Started, waiting for IP...\n"); } else { @@ -131,7 +131,7 @@ m_ip = IpAddr(&(m_pNetIf->ip_addr)); - DBG("\r\nConnected, IP : %d.%d.%d.%d\r\n", m_ip[0], m_ip[1], m_ip[2], m_ip[3]); + DBG("Connected, IP : %d.%d.%d.%d\n", m_ip[0], m_ip[1], m_ip[2], m_ip[3]); return ETH_OK; }