File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed examples/11.ArduinoISP/ArduinoISP
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -164,7 +164,7 @@ void pulse(int pin, int times);
|
164 | 164 |
|
165 | 165 | #define SPI_MODE0 0x00
|
166 | 166 |
|
167 |
| -#if !defined(ARDUINO_API_VERSION) // A SPISettings class is declared by ArduinoCore-API |
| 167 | +#if !defined(ARDUINO_API_VERSION) || ARDUINO_API_VERSION != 10001 // A SPISettings class is declared by ArduinoCore-API 1.0.1 |
168 | 168 | class SPISettings {
|
169 | 169 | public:
|
170 | 170 | // clock is in Hz
|
|
You can’t perform that action at this time.
0 commit comments