We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4996780 commit bfb1d3aCopy full SHA for bfb1d3a
src/components/display/drivers/dispDrvSt7789.h
@@ -58,18 +58,18 @@ class dispDrvSt7789 : public dispDrvBase {
58
bool begin() override {
59
60
// Special power control configuration for
61
-// boards with built-in TFTs
+// boards with built-in TFTs
62
#if defined(TFT_BACKLITE)
63
// turn on backlite
64
pinMode(TFT_BACKLITE, OUTPUT);
65
digitalWrite(TFT_BACKLITE, HIGH);
66
67
- #if defined(TFT_I2C_POWER)
+#if defined(TFT_I2C_POWER)
68
// turn on the TFT / I2C power supply
69
pinMode(TFT_I2C_POWER, OUTPUT);
70
digitalWrite(TFT_I2C_POWER, HIGH);
71
delay(10);
72
- #endif // TFT_I2C_POWER
+#endif // TFT_I2C_POWER
73
#endif
74
75
_display = new Adafruit_ST7789(_pin_cs, _pin_dc, _pin_rst);
0 commit comments