Skip to content

Commit 6fc4c35

Browse files
committed
Replaced a pinMode call by SetPinMode
1 parent e4014e7 commit 6fc4c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Display/Display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ GCodeResult Display::Configure(GCodeBuffer& gb, const StringRef& reply) THROWS(G
247247
# ifdef DUET_M
248248
// On the Duet Maestro only, the CS pin is active high and gates the clock signal.
249249
// The ST7567 needs an active low CS signal, so we must use a different CS pin and set the original one high to let the clock through.
250-
pinMode(LcdCSPin, OUTPUT_HIGH);
250+
SetPinMode(LcdCSPin, OUTPUT_HIGH);
251251
InitDisplay(gb, new Lcd7567(fonts, ARRAY_SIZE(fonts)), LcdCSAltPin, LcdA0Pin, false);
252252
# else
253253
InitDisplay(gb, new Lcd7567(fonts, ARRAY_SIZE(fonts)), LcdCSPin, LcdA0Pin, false);

0 commit comments

Comments
 (0)