mirror of https://github.com/arendst/Tasmota.git
Update ILI9341_2.cpp
This commit is contained in:
parent
b3788a5f8d
commit
66788c0383
|
@ -189,9 +189,11 @@ void ILI9341_2::init(uint16_t width, uint16_t height) {
|
|||
|
||||
if (_hwspi >= 2) {
|
||||
spi2 = &SPI;
|
||||
#ifdef ESP32
|
||||
if (_hwspi > 2) {
|
||||
spi2->begin(_sclk, _miso, _mosi, -1);
|
||||
}
|
||||
#endif // ESP32
|
||||
} else {
|
||||
#ifdef ESP32
|
||||
if (_spibus == 2) {
|
||||
|
|
Loading…
Reference in New Issue