aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src
diff options
context:
space:
mode:
authorMimmo La Fauci <mlafauci@metodo2.it>2013-03-16 15:55:29 +0100
committerMimmo La Fauci <mlafauci@metodo2.it>2013-03-16 15:55:29 +0100
commitf6b90fecae3b2ef71a131d5126a57773c8a782ea (patch)
treea505226becc2bdc6f69ee37d81a3cfbd2fb3b054 /firmwares/wifishield/wifiHD/src
parent642348b69d4ec62d7d22830b0d1d92f32934d24c (diff)
Add info instead of printk
Diffstat (limited to 'firmwares/wifishield/wifiHD/src')
-rw-r--r--firmwares/wifishield/wifiHD/src/ard_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmwares/wifishield/wifiHD/src/ard_tcp.c b/firmwares/wifishield/wifiHD/src/ard_tcp.c
index cbbf531..18cfd74 100644
--- a/firmwares/wifishield/wifiHD/src/ard_tcp.c
+++ b/firmwares/wifishield/wifiHD/src/ard_tcp.c
@@ -690,7 +690,7 @@ static int udp_start(struct ttcp* ttcp) {
return -1;
}
- printk("%s, upcb:%p %s:%d\n", __FUNCTION__, ttcp->upcb, ip2str(ttcp->addr), ttcp->port);
+ INFO_TCP("%s, upcb:%p %s:%d\n", __FUNCTION__, ttcp->upcb, ip2str(ttcp->addr), ttcp->port);
if (ttcp->mode == TTCP_MODE_TRANSMIT) {
if (udp_connect(ttcp->upcb, &(ttcp->addr), ttcp->port) != ERR_OK) {
WARN("TTCP [%p]: udp connect failed\n", ttcp);
@@ -708,7 +708,7 @@ static int udp_start(struct ttcp* ttcp) {
setRemoteClient(ttcp->sock, 0, 0);
udp_recv(ttcp->upcb, audp_recv_cb, ttcp);
}
- printk("%s, loc:0x%x-%d rem:0x%x-%d\n", __FUNCTION__,
+ INFO_TCP("%s, loc:0x%x-%d rem:0x%x-%d\n", __FUNCTION__,
ttcp->upcb->local_ip.addr, ttcp->upcb->local_port,
ttcp->upcb->remote_ip.addr, ttcp->upcb->remote_port);
return 0;