From 53311ff00f6140734d0887a159e4650571400e5d Mon Sep 17 00:00:00 2001 From: Rob van der Veer Date: Wed, 2 Dec 2015 21:30:31 +0100 Subject: [PATCH] Added callback support for USB host suspend/wake --- hardware/arduino/avr/cores/arduino/USBAPI.h | 6 ++ .../arduino/avr/cores/arduino/USBCore.cpp | 76 +++++++++++++------ 2 files changed, 59 insertions(+), 23 deletions(-) diff --git a/hardware/arduino/avr/cores/arduino/USBAPI.h b/hardware/arduino/avr/cores/arduino/USBAPI.h index f22ab6add54..21f812622ea 100644 --- a/hardware/arduino/avr/cores/arduino/USBAPI.h +++ b/hardware/arduino/avr/cores/arduino/USBAPI.h @@ -55,6 +55,8 @@ typedef unsigned long u32; #define EP_TYPE_ISOCHRONOUS_IN ((1<