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.
Dependencies: EthernetInterface mbed-rtos mbed
Fork of WiFi_Camera by
Diff: main.cpp
- Revision:
- 8:6baeb73b4728
- Parent:
- 7:aa6d95034cf2
--- a/main.cpp Fri Nov 04 15:41:24 2016 +0000
+++ b/main.cpp Fri Nov 04 16:08:51 2016 +0000
@@ -302,8 +302,8 @@
printf("create tcp ok\r\n");
} else {
printf("create tcp err\r\n");
- // Wi-Fiモジュールをリセット
- resetWiFi();
+ // システムリセット
+ NVIC_SystemReset();
return ret;
}
wait(1);
@@ -333,7 +333,7 @@
break;
default:
-
+ //
break;
}
@@ -379,6 +379,8 @@
} else {
printf("release tcp err\r\n");
}
+
+
return ret;
}
