summaryrefslogtreecommitdiff
path: root/software/mpu/usb-cdc-shell.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-08-23 02:26:24 +0000
committerChristian Pointner <equinox@mur.at>2013-08-23 02:26:24 +0000
commitd77325932d715c5a3668b4298d4969f6488f61e9 (patch)
tree7946258e256f5f7982bf69eab785347b254bdddf /software/mpu/usb-cdc-shell.c
parentadded datasheet for STM32F40xxx (diff)
cleaned up shell (no double disconnect/connect for usb)
git-svn-id: https://svn.spreadspace.org/mur.sat@838 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/usb-cdc-shell.c')
-rw-r--r--software/mpu/usb-cdc-shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/software/mpu/usb-cdc-shell.c b/software/mpu/usb-cdc-shell.c
index d15ef18..9aa2f41 100644
--- a/software/mpu/usb-cdc-shell.c
+++ b/software/mpu/usb-cdc-shell.c
@@ -282,12 +282,10 @@ void usbCDCShellInit(void)
sduObjectInit(&SDU1);
sduStart(&SDU1, &serusbcfg);
- palSetPad(USB_DISC__PORT, USB_DISC__PIN);
usbDisconnectBus(serusbcfg.usbp);
chThdSleepMilliseconds(1500);
usbStart(serusbcfg.usbp, &usbcfg);
usbConnectBus(serusbcfg.usbp);
- palClearPad(USB_DISC__PORT, USB_DISC__PIN);
shellInit();
}