![](/media/cache/profiles/37f5bdb3a2a1159584d0a30e9a1e71bf.jpg.50x50_q85.jpg)
Change to wifi AP mode. SSID "GR-PEACH_1", PSK "12345"
Dependencies: DhcpServer EthernetInterface FATFileSystem GR-PEACH_WlanBP3595AP GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed
Fork of GR-Boards_WebCamera by
Diff: main.cpp
- Revision:
- 16:b5469a6226c7
- Parent:
- 15:eac4c3711aab
- Child:
- 17:493d36f1febf
--- a/main.cpp Wed Jun 01 07:35:41 2016 +0000 +++ b/main.cpp Thu Jun 02 05:39:35 2016 +0000 @@ -294,8 +294,15 @@ } static void TerminalWrite(Arguments* arg, Reply* r) { - printf("touch count=%s, %s\n", arg->argv[0], arg->argv[1]); - r->putData<const char*>("ok"); + if ((arg != NULL) && (r != NULL)) { + for (int i = 0; i < arg->argc; i++) { + if (arg->argv[i] != NULL) { + printf("%s", arg->argv[i]); + } + } + printf("\n"); + r->putData<const char*>("ok"); + } } static void mount_romramfs(void) {