Skip to content

Commit b495793

Browse files
committed
Fixed compile error on Inkplate2 factory programming.
1 parent 2f9dc52 commit b495793

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/Inkplate2/Diagnostics/Inkplate2_Factory_Programming/InkplateEasyCTester/InkplateEasyCTester.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
* @authors Borna Biro for Soldered
3030
***************************************************/
3131

32+
// Block usage of this code on Inkplate2 board.
33+
#ifndef ARDUINO_INKPLATE2
34+
3235
// Include a Wire library (for I2C communication)
3336
#include "Wire.h"
3437

@@ -109,3 +112,5 @@ void loop()
109112
pixels.show();
110113
}
111114
}
115+
116+
#endif

0 commit comments

Comments
 (0)