Permalink
Browse files

Fixed USB serial zero length string issue in hardwareserial_cdcacm.c

  • Loading branch information...
1 parent 8b37c8b commit 0b4998e557243efe22a6919183b2e513f86f0dd4 @EmbeddedMan EmbeddedMan committed Sep 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 0b4998e

Please sign in to comment.