1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 02:21:46 +02:00

Changed serial read core

-Test fix for problems with pause and reset of running jobs.
- It may have been due to 2 cores accessing the same data.
This commit is contained in:
bdring
2020-05-11 21:50:41 -05:00
parent e865caa766
commit bfe0073493
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
// Grbl versioning system
#define GRBL_VERSION "1.2a"
#define GRBL_VERSION_BUILD "20200510"
#define GRBL_VERSION_BUILD "20200511"
//#include <sdkconfig.h>
#include <Arduino.h>

View File

@@ -258,7 +258,7 @@ void report_feedback_message(uint8_t message_code) { // OK to send to all client
#ifdef ENABLE_SD_CARD
case MESSAGE_SD_FILE_QUIT:
grbl_notifyf("SD print canceled", "Reset during SD file at line: %d", sd_get_current_line_number());
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Reset during SD file at line: %d", sd_get_current_line_number);
grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Reset during SD file at line: %d", sd_get_current_line_number());
break;
#endif
}

View File

@@ -82,7 +82,7 @@ void serial_init() {
NULL, // parameters
1, // priority
&serialCheckTaskHandle,
0 // core
1 // core
);
}