From 7f59cd609075fbf717090f45cfe441471bc1c03f Mon Sep 17 00:00:00 2001 From: bdring Date: Mon, 7 Jan 2019 12:47:31 -0600 Subject: [PATCH] Fixed compile error with ENABLE_SD_CARD undefined --- Grbl_Esp32/report.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Grbl_Esp32/report.cpp b/Grbl_Esp32/report.cpp index 2a536ec8..d7611e16 100644 --- a/Grbl_Esp32/report.cpp +++ b/Grbl_Esp32/report.cpp @@ -206,8 +206,10 @@ void report_feedback_message(uint8_t message_code) // OK to send to all clients grbl_send(CLIENT_ALL, "[MSG:Restoring spindle]\r\n"); break; case MESSAGE_SLEEP_MODE: grbl_send(CLIENT_ALL, "[MSG:Sleeping]\r\n"); break; +#ifdef ENABLE_SD_CARD case MESSAGE_SD_FILE_QUIT: grbl_sendf(CLIENT_ALL, "[MSG:Reset during SD file at line: %d]\r\n", sd_get_current_line_number()); break; +#endif } }