Skip to content

Commit be4676e

Browse files
committed
HardwareSetup: issue warning
1 parent 3760be5 commit be4676e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ArduinoCore-Linux/cores/arduino/HardwareSetupRemote.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class HardwareSetupRemote : public I2CSource,
7676

7777
// setup global objects
7878
if (asDefault) {
79+
Logger.warning("GPIO, I2C, SPI set up for Remote");
7980
SPI.setSPI(&spi);
8081
Wire.setI2C(&i2c);
8182
GPIO.setGPIO(&gpio);

ArduinoCore-Linux/cores/rasperry_pi/HardwareSetupRPI.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class HardwareSetupRPI : public I2CSource, public SPISource, public GPIOSource {
5151

5252
// define the global hardware interfaces
5353
if (asDefault) {
54+
Logger.warning("GPIO, I2C, SPI set up for Raspberry Pi");
5455
GPIO.setGPIO(&gpio);
5556
SPI.setSPI(&spi);
5657
Wire.setI2C(&i2c);

0 commit comments

Comments
 (0)