Skip to content

Commit 60ee872

Browse files
committed
Include Compat and HardwareSPI when including ArduinoAPI.h
1 parent 5902b53 commit 60ee872

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: api/ArduinoAPI.h

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#ifdef __cplusplus
2929
#include "Client.h"
3030
#include "HardwareI2C.h"
31+
#include "HardwareSPI.h"
3132
#include "HardwareSerial.h"
3233
#include "Interrupts.h"
3334
#include "IPAddress.h"
@@ -52,4 +53,7 @@
5253
// Misc Arduino core functions
5354
#include "Common.h"
5455

56+
// Compatibility layer for older code
57+
#include "Compat.h"
58+
5559
#endif

0 commit comments

Comments
 (0)