Skip to content
Browse files

Merge pull request #272 from EmbeddedMan/master

Possible fix for issue #223 USB serial crashes/hangs on zero length string
  • Loading branch information...
2 parents 369522c + 0b4998e commit 2ef6b6f2f6479d6b00ead16fe44a41c9da1ca9e9 @ricklon ricklon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 hardware/pic32/cores/pic32/HardwareSerial_cdcacm.c
View
2 hardware/pic32/cores/pic32/HardwareSerial_cdcacm.c
@@ -211,7 +211,7 @@ int buffersNeeded;
int m;
int previousInterrutLevel;
- ASSERT(length);
+ //ASSERT(length);
if (! gCdcacm_attached || gDiscard || (length <= 0))
{

0 comments on commit 2ef6b6f

Please sign in to comment.
Something went wrong with that request. Please try again.