Skip to content

Commit

Permalink
Callback fiasco: always include Arduino.h before including Callback
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Dec 3, 2020
1 parent 1dfae09 commit 2a8fe4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/arduino/USB/PluggableUSBDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef PLUGGABLEUSBDEVICE_H
#define PLUGGABLEUSBDEVICE_H

#include "Arduino.h"

/* These headers are included for child class. */
#include "USBDescriptor.h"
#include "USBDevice_Types.h"
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/USB/USBCDC.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef USBCDC_H
#define USBCDC_H

#include "Arduino.h"

/* These headers are included for child class. */
#include "USBDescriptor.h"
#include "USBDevice_Types.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/USBMSD/PluggableUSBMSD.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define USBMSD_H

/* These headers are included for child class. */
#include "Arduino.h"
#include "USBDescriptor.h"
#include "USBDevice_Types.h"
#include "platform/Callback.h"
Expand Down

0 comments on commit 2a8fe4b

Please sign in to comment.