mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-03 03:13:25 +02:00
Fixed compile error with ENABLE_SD_CARD undefined
This commit is contained in:
@@ -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;
|
grbl_send(CLIENT_ALL, "[MSG:Restoring spindle]\r\n"); break;
|
||||||
case MESSAGE_SLEEP_MODE:
|
case MESSAGE_SLEEP_MODE:
|
||||||
grbl_send(CLIENT_ALL, "[MSG:Sleeping]\r\n"); break;
|
grbl_send(CLIENT_ALL, "[MSG:Sleeping]\r\n"); break;
|
||||||
|
#ifdef ENABLE_SD_CARD
|
||||||
case MESSAGE_SD_FILE_QUIT:
|
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;
|
grbl_sendf(CLIENT_ALL, "[MSG:Reset during SD file at line: %d]\r\n", sd_get_current_line_number()); break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user