Skip to content

Commit d8e35c3

Browse files
giulcioffifacchinm
authored andcommitted
Add specific Hardware includes if they are removed from api/ArduinoAPI.h
1 parent ccee30c commit d8e35c3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

cores/arduino/Serial.h

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include "api/RingBuffer.h"
2424
#include "Arduino.h"
25+
#include "api/HardwareSerial.h"
2526
#include "mbed/drivers/UnbufferedSerial.h"
2627

2728
#ifdef __cplusplus

libraries/SPI/SPI.h

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#pragma once
2020

2121
#include "Arduino.h"
22+
#include "api/HardwareSPI.h"
2223
#if !defined(ARDUINO_AS_MBED_LIBRARY)
2324
#include "drivers/SPIMaster.h"
2425
#else

libraries/Wire/Wire.h

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#pragma once
2020

2121
#include "Arduino.h"
22+
#include "api/HardwareI2C.h"
2223
#include "Print.h"
2324
#include "drivers/I2C.h"
2425
#include "drivers/I2CSlave.h"

0 commit comments

Comments
 (0)