diff options
| author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-11 17:35:59 +0000 |
|---|---|---|
| committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-11 17:35:59 +0000 |
| commit | f183c0aa6df9bbf16b9fb594bf8142adfc1e5d1b (patch) | |
| tree | 3e7507aeb79ce18aab183188b7056d768e665038 /testhal | |
| parent | d094e348c5d1a3785289c69c5185bbaca1257de8 (diff) | |
| download | ChibiOS-f183c0aa6df9bbf16b9fb594bf8142adfc1e5d1b.tar.gz ChibiOS-f183c0aa6df9bbf16b9fb594bf8142adfc1e5d1b.tar.bz2 ChibiOS-f183c0aa6df9bbf16b9fb594bf8142adfc1e5d1b.zip | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4267 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
| -rw-r--r-- | testhal/STM32F4xx/USB_CDC/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/main.c b/testhal/STM32F4xx/USB_CDC/main.c index e36ce3dc9..a880e86f9 100644 --- a/testhal/STM32F4xx/USB_CDC/main.c +++ b/testhal/STM32F4xx/USB_CDC/main.c @@ -443,12 +443,14 @@ 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);
}
}
|
