Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HttpServer_snapshot_mbed-os by
Revision 16:13f082bef9a9, committed 2017-09-30
- Comitter:
- fxanhkhoa
- Date:
- Sat Sep 30 08:36:29 2017 +0000
- Parent:
- 15:371fbad587ed
- Commit message:
- Renesas GR Peach ASEAN Contest
Changed in this revision
HTTPServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPServer.h Fri Jun 23 11:34:54 2017 +0000 +++ b/HTTPServer.h Sat Sep 30 08:36:29 2017 +0000 @@ -6,6 +6,7 @@ #ifdef _DEBUG_ALL #include <stdio.h> #include <stdarg.h> +Serial pc(USBTX, USBRX); static inline void http_server_debug_print(const char *format, ...) { va_list args; va_start(args, format); @@ -201,6 +202,7 @@ for (;;) { http_server_debug_print("**Start Loop** \r\n"); + pc.printf("Sta\n"); if (t >= 0) { if(server.accept(&clients[t])==0) { // fork child process @@ -227,6 +229,7 @@ } else { Thread::wait(10); } + pc.printf("end\n"); } t = -1;