Skip to content

Commit f2c1671

Browse files
committed
Fix display constructor
1 parent 1d744f5 commit f2c1671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_MKRIoTCarrier.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class MKRIoTCarrier{
122122
MKRIoTCarrierQtouch Button4 __attribute__((deprecated)) = MKRIoTCarrierQtouch(TOUCH4);
123123

124124
//Display
125-
Adafruit_ST7789 display = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, -1);
125+
Adafruit_ST7789 display = Adafruit_ST7789(TFT_CS, TFT_DC, -1);
126126

127127
//RGB LEDs
128128
Adafruit_DotStar leds = Adafruit_DotStar(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR);

0 commit comments

Comments
 (0)