aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-11 19:30:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-11 19:30:30 +0000
commit467af68aa0cee886e76025952705bfe73ae477b2 (patch)
tree49f915c844c701d00984e7055ecf1f5922726ff7
parentf32e8bf381a0141cf1818aed33474238a1570626 (diff)
downloadChibiOS-467af68aa0cee886e76025952705bfe73ae477b2.tar.gz
ChibiOS-467af68aa0cee886e76025952705bfe73ae477b2.tar.bz2
ChibiOS-467af68aa0cee886e76025952705bfe73ae477b2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4270 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--testhal/STM32F4xx/USB_CDC/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/main.c b/testhal/STM32F4xx/USB_CDC/main.c
index a880e86f9..e36ce3dc9 100644
--- a/testhal/STM32F4xx/USB_CDC/main.c
+++ b/testhal/STM32F4xx/USB_CDC/main.c
@@ -443,14 +443,12 @@ int main(void) {
* sleeping in a loop and check the button state.
*/
while (TRUE) {
-#if 0
if (!shelltp && (SDU1.config->usbp->state == USB_ACTIVE))
shelltp = shellCreate(&shell_cfg1, SHELL_WA_SIZE, NORMALPRIO);
else if (chThdTerminated(shelltp)) {
chThdRelease(shelltp); /* Recovers memory of the previous shell. */
shelltp = NULL; /* Triggers spawning of a new shell. */
}
-#endif
chThdSleepMilliseconds(1000);
}
}