From 81cbda3aa64e9a4f6639cda7024cea542e169ed6 Mon Sep 17 00:00:00 2001
From: Cristian Maglie <c.maglie@arduino.cc>
Date: Thu, 10 Sep 2015 18:46:28 +0200
Subject: [PATCH] Fixed bug in USBCore::send... (yikes!)

---
 cores/arduino/USB/USBCore.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cores/arduino/USB/USBCore.cpp b/cores/arduino/USB/USBCore.cpp
index d40662f0..d32dd4cb 100644
--- a/cores/arduino/USB/USBCore.cpp
+++ b/cores/arduino/USB/USBCore.cpp
@@ -624,6 +624,7 @@ uint32_t USBDeviceClass::send(uint32_t ep, const void *data, uint32_t len)
 			;  // need fire exit.
 		}
 		len -= length;
+		data += length;
 	}
 	return len;
 }
-- 
GitLab