mirror of
https://github.com/grblHAL/core.git
synced 2026-03-23 20:54:26 +08:00
Changed real time reporting to allow per connection status for which report elements to output.
Added pragmas to shut up warning from the ESP32 compiler.
This commit is contained in:
14
gcode.h
14
gcode.h
@@ -135,7 +135,11 @@ typedef enum {
|
||||
} feed_mode_t;
|
||||
|
||||
// Modal Group G7: Cutter radius compensation mode
|
||||
//#define CUTTER_COMP_DISABLE 0 // G40 - Default, must be zero
|
||||
typedef enum {
|
||||
CComp_Off = 0, //!< 0 - G40 - Default, must be zero
|
||||
CComp_Left, //!< 1 - G41, G41.1
|
||||
CComp_Right //!< 2 - G42, G42.1
|
||||
} ccomp_mode_t;
|
||||
|
||||
/*! Modal Group G8: Tool length offset
|
||||
|
||||
@@ -326,6 +330,12 @@ typedef enum {
|
||||
#endif
|
||||
} gc_probe_t;
|
||||
|
||||
typedef struct {
|
||||
ccomp_mode_t side;
|
||||
bool first_move;
|
||||
float radius;
|
||||
} gc_ccomp_t;
|
||||
|
||||
//! Parser flags for special cases.
|
||||
typedef union {
|
||||
uint16_t value;
|
||||
@@ -489,7 +499,7 @@ typedef struct {
|
||||
bool diameter_mode; //!< {G7,G8} Lathe diameter mode.
|
||||
//< uint8_t distance_arc; //!< {G91.1} NOTE: Don't track. Only default supported.
|
||||
plane_select_t plane_select; //!< {G17,G18,G19}
|
||||
//< uint8_t cutter_comp; //!< {G40} NOTE: Don't track. Only default supported.
|
||||
//< gc_ccomp_t cutter_comp; //!< {G40,G41,G41.1,G42,G42.1} NOTE: Don't track. Only default (G40) supported.
|
||||
tool_offset_mode_t tool_offset_mode; //!< {G43,G43.1,G49}
|
||||
coord_system_t g5x_offset; //!< {G54,G55,G56,G57,G58,G59,G59.1,G59.2,G59.3}
|
||||
#if ENABLE_PATH_BLENDING
|
||||
|
||||
Reference in New Issue
Block a user