Skip to content

Commit eb682ab

Browse files
committed
enable SPI sensor for RP2040, its now supported
1 parent e80c72f commit eb682ab

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/sensors/MagneticSensorSPI.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#ifndef TARGET_RP2040
21

32
#include "MagneticSensorSPI.h"
43

@@ -160,4 +159,3 @@ void MagneticSensorSPI::close(){
160159
}
161160

162161

163-
#endif

src/sensors/MagneticSensorSPI.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef MAGNETICSENSORSPI_LIB_H
22
#define MAGNETICSENSORSPI_LIB_H
33

4-
#ifndef TARGET_RP2040
54

65
#include "Arduino.h"
76
#include <SPI.h>
@@ -83,4 +82,3 @@ class MagneticSensorSPI: public Sensor{
8382

8483

8584
#endif
86-
#endif

0 commit comments

Comments
 (0)