mirror of
https://github.com/synthetos/g2.git
synced 2026-10-06 22:52:49 +08:00
083.16 fixed message return in a blank Gcode line
This commit is contained in:
@@ -58,6 +58,12 @@ stat_t gcode_parser(char *block)
|
||||
uint8_t block_delete_flag;
|
||||
|
||||
_normalize_gcode_block(str, &com, &msg, &block_delete_flag);
|
||||
|
||||
// queue a "(MSG" response
|
||||
if (*msg != NUL) {
|
||||
(void)cm_message(msg); // queue the message
|
||||
}
|
||||
|
||||
if (str[0] == NUL) { // normalization returned null string
|
||||
return (STAT_OK); // most likely a comment line
|
||||
}
|
||||
@@ -72,11 +78,6 @@ stat_t gcode_parser(char *block)
|
||||
if (block_delete_flag == true) {
|
||||
return (STAT_NOOP);
|
||||
}
|
||||
|
||||
// queue a "(MSG" response
|
||||
if (*msg != NUL) {
|
||||
(void)cm_message(msg); // queue the message
|
||||
}
|
||||
return(_parse_gcode_block(block));
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
#define XIO_ENABLE_ECHO false
|
||||
#define XIO_ENABLE_FLOW_CONTROL FLOW_CONTROL_XON // FLOW_CONTROL_OFF, FLOW_CONTROL_XON, FLOW_CONTROL_RTS
|
||||
|
||||
#define JSON_VERBOSITY JV_CONFIGS // one of: JV_SILENT, JV_FOOTER, JV_CONFIGS, JV_MESSAGES, JV_LINENUM, JV_VERBOSE
|
||||
#define JSON_VERBOSITY JV_MESSAGES // one of: JV_SILENT, JV_FOOTER, JV_CONFIGS, JV_MESSAGES, JV_LINENUM, JV_VERBOSE
|
||||
#define JSON_SYNTAX_MODE JSON_SYNTAX_STRICT // one of JSON_SYNTAX_RELAXED, JSON_SYNTAX_STRICT
|
||||
|
||||
#define QUEUE_REPORT_VERBOSITY QR_SINGLE // one of: QR_OFF, QR_SINGLE, QR_TRIPLE
|
||||
@@ -182,8 +182,8 @@
|
||||
// *** axis settings **********************************************************************************
|
||||
|
||||
#define JERK_MAX 500 // 500 million mm/(min^3)
|
||||
//#define JERK_HIGH_SPEED 1000 // 1000 million mm/(min^3) // Jerk during homing needs to stop *fast*
|
||||
#define JERK_HIGH_SPEED 2000
|
||||
#define JERK_HIGH_SPEED 1000 // 1000 million mm/(min^3) // Jerk during homing needs to stop *fast*
|
||||
//#define JERK_HIGH_SPEED 2000
|
||||
#define LATCH_VELOCITY 25 // reeeeally slow for accuracy
|
||||
|
||||
#define JUNCTION_DEVIATION_XY 0.01 // larger is faster
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
/****** REVISIONS ******/
|
||||
|
||||
#ifndef TINYG_FIRMWARE_BUILD
|
||||
#define TINYG_FIRMWARE_BUILD 083.16 // tweaks to homing touch off
|
||||
#define TINYG_FIRMWARE_BUILD 083.16 // fixed message return in a blank Gcode line
|
||||
#endif
|
||||
|
||||
#define TINYG_FIRMWARE_VERSION 0.98 // firmware major version
|
||||
|
||||
Reference in New Issue
Block a user