From 30242b414a46657b53855ab2509408fa243dd7ab Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 29 Aug 2019 18:23:53 +0200 Subject: [PATCH] fix typo --- Grbl_Esp32/system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grbl_Esp32/system.cpp b/Grbl_Esp32/system.cpp index a2ce3245..5666c284 100644 --- a/Grbl_Esp32/system.cpp +++ b/Grbl_Esp32/system.cpp @@ -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 }