aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Drivers/USB_Communication
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-01-26 16:28:56 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-01-26 16:28:56 +0200
commit6d0d04a9f1d3ebbc679190ff49df69406eabe24a (patch)
tree697ec870789091d0b26075696915120713270388 /Software/Embedded_SW/Embedded/Drivers/USB_Communication
parent494d0f61b0800d96b1694930388397d9d9318d58 (diff)
downloadTango-6d0d04a9f1d3ebbc679190ff49df69406eabe24a.tar.gz
Tango-6d0d04a9f1d3ebbc679190ff49df69406eabe24a.zip
updating : special dispensers handling (for Moti), new process parameters, bugs and features. merged with Shai
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers/USB_Communication')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c b/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
index 81858a574..d29ccefca 100644
--- a/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
+++ b/Software/Embedded_SW/Embedded/Drivers/USB_Communication/USBCDCD.c
@@ -655,13 +655,13 @@ void handleRx(void)
buffId = initArray( expected_message_size);
if (buffId == 0xFF)
{
- LOG_ERROR(expected_message_size,"usb message length error");
+ //LOG_ERROR(expected_message_size,"usb message length error");
+ Report("usb message length error", __FILE__, __LINE__, expected_message_size, RpWarning, (int)buffId, 0);
keep_expected_message_size = expected_message_size;
expected_message_size = 0;
size_bar = 0;
FileChunkUploadError();
}
- //Report("usb message length", __FILE__, __LINE__, expected_message_size, RpWarning, (int)buffId, 0);
}
}
}