Skip to content

Commit d58b840

Browse files
committed
Add missing USBCON wrapper
1 parent 78f79ed commit d58b840

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: cores/arduino/USB/USBCore.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1717
*/
1818

19+
#if defined(USBCON)
20+
1921
#include <Arduino.h>
2022

2123
#include "SAMD21_USBDevice.h"
@@ -968,3 +970,4 @@ void USBDeviceClass::ISRHandler()
968970
// USBDevice class instance
969971
USBDeviceClass USBDevice;
970972

973+
#endif

0 commit comments

Comments
 (0)