1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-19 12:51:47 +02:00
This commit is contained in:
Luc
2019-08-29 18:23:53 +02:00
parent a9127acded
commit 30242b414a

View File

@@ -45,8 +45,8 @@ void system_ini() // Renamed from system_init() due to conflict with esp32 files
#endif
//customize pin definition if needed
#if (GRBL_SPI_SS != -1) || (GRBL_SPI_MIS0 != -1) || (GRBL_SPI_MOSI != -1) || (GRBL_SPI_SCK != -1)
SPI.begin(GRBL_SPI_SCK, GRBL_SPI_MIS0, GRBL_SPI_MOSI, GRBL_SPI_SS);
#if (GRBL_SPI_SS != -1) || (GRBL_SPI_MISO != -1) || (GRBL_SPI_MOSI != -1) || (GRBL_SPI_SCK != -1)
SPI.begin(GRBL_SPI_SCK, GRBL_SPI_MISO, GRBL_SPI_MOSI, GRBL_SPI_SS);
#endif
}