aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-04-11 16:37:09 +0000
committeredolomb <none@example.com>2018-04-11 16:37:09 +0000
commit65e4c53b39f920dfc93b808327d0cfc36b623caf (patch)
tree8b3d200ad06aa5f6ef37979895b3c60599b5eda5 /demos
parent161c5578f541f98a5017f360487f01985a740872 (diff)
downloadChibiOS-65e4c53b39f920dfc93b808327d0cfc36b623caf.tar.gz
ChibiOS-65e4c53b39f920dfc93b808327d0cfc36b623caf.tar.bz2
ChibiOS-65e4c53b39f920dfc93b808327d0cfc36b623caf.zip
Updated demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11885 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos')
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/web/web.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/web/web.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/web/web.c
index bf7d33d13..fa4b6f416 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/web/web.c
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/web/web.c
@@ -30,7 +30,6 @@
#include "lwip/netdb.h"
#include "lwip/sockets.h"
-#include <stdio.h>
#include <string.h>
#include "web.h"
@@ -102,9 +101,6 @@ int http_client(void) {
do {
memset(recv_buf, 0, sizeof(recv_buf));
r = read(s, recv_buf, sizeof(recv_buf) - 1);
- for(int i = 0; i < r; i++) {
- putchar(recv_buf[i]);
- }
chprintf((BaseSequentialStream *)&SD1,"%s\n\r",recv_buf);
} while(r > 0);
chprintf((BaseSequentialStream *)&SD1, "--------------------------------------------------------------------------------\n\r");