aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Drivers/USB_Communication
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-11-05 09:51:08 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-11-05 09:51:08 +0200
commit648a3fdc373fc1555a8d1e1908e8b4dfa2203820 (patch)
tree4001df7aa6478335e8ca9782724bf4233708fcb4 /Software/Embedded_SW/Embedded/Drivers/USB_Communication
parent93591843e7fc3a68e955cb305838fe7e68d1c137 (diff)
downloadTango-648a3fdc373fc1555a8d1e1908e8b4dfa2203820.tar.gz
Tango-648a3fdc373fc1555a8d1e1908e8b4dfa2203820.zip
Heaters PID enabled per configuration. USB reinitialized. new HW handling with error report
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers/USB_Communication')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c b/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
index 0d42057b8..76592f0d5 100644
--- a/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
+++ b/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
@@ -770,21 +770,21 @@ void USBCDCD_init(void)
void USBCDCD_Reinit(void)
{
- //USBDCDCTerm(USBDComposite);
+ USBDCDCTerm(USBDComposite);
/* State specific variables */
- //state = USBCDCD_STATE_UNCONFIGURED;
+ state = USBCDCD_STATE_UNCONFIGURED;
/* Set the USB stack mode to Device mode with VBUS monitoring */
- //USBStackModeSet(0, eUSBModeForceDevice, 0);
+ USBStackModeSet(0, eUSBModeForceDevice, 0);
USBBufferInit(&txBuffer);
USBBufferInit(&rxBuffer);
- /*USBDComposite = USBDCDCInit(0, &g_sCDCDevice);
+ USBDComposite = USBDCDCInit(0, &g_sCDCDevice);
if (!USBDComposite)
{
System_abort("Error initializing the serial device");
- }*/
+ }
}