Skip to content

Commit a4b2340

Browse files
committed
Callback fiasco: always include Arduino.h before including Callback
1 parent c14aeba commit a4b2340

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cores/arduino/USB/PluggableUSBDevice.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#ifndef PLUGGABLEUSBDEVICE_H
1919
#define PLUGGABLEUSBDEVICE_H
2020

21+
#include "Arduino.h"
22+
2123
/* These headers are included for child class. */
2224
#include "USBDescriptor.h"
2325
#include "USBDevice_Types.h"

cores/arduino/USB/USBCDC.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#ifndef USBCDC_H
1919
#define USBCDC_H
2020

21+
#include "Arduino.h"
22+
2123
/* These headers are included for child class. */
2224
#include "USBDescriptor.h"
2325
#include "USBDevice_Types.h"

0 commit comments

Comments
 (0)