From 34234c2c6a4cb77a60254e3db4c2d08d912684e6 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Fri, 3 Nov 2017 12:03:54 -0400 Subject: [PATCH] Handle receiving a ZLP in USB_Available --- hardware/arduino/avr/cores/arduino/USBCore.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hardware/arduino/avr/cores/arduino/USBCore.cpp b/hardware/arduino/avr/cores/arduino/USBCore.cpp index e00fb028e22..4c5c50bfd16 100644 --- a/hardware/arduino/avr/cores/arduino/USBCore.cpp +++ b/hardware/arduino/avr/cores/arduino/USBCore.cpp @@ -171,6 +171,11 @@ static inline u8 FifoFree() return UEINTX & (1<