Skip to content

Commit dcc5ff8

Browse files
committed
improved expr and named params
- splited code parser code into 2 units - added parameter print grbl command via $#= (similar to grblHAL) - modified float argument parsing with expressions enabled - completed named params results
1 parent abf500b commit dcc5ff8

File tree

5 files changed

+1710
-1526
lines changed

5 files changed

+1710
-1526
lines changed

uCNC/cnc_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ extern "C"
289289
* processes comment as defined in the RS274NGC
290290
* */
291291

292-
// #define PROCESS_COMMENTS
292+
#define PROCESS_COMMENTS
293293

294294
/**
295295
* Enables RS274NGC canned cycles
@@ -306,7 +306,7 @@ extern "C"
306306
/**
307307
* Enables RS274NGC expression parsing
308308
* **/
309-
// #define ENABLE_RS274NGC_EXPRESSIONS
309+
#define ENABLE_RS274NGC_EXPRESSIONS
310310
#ifdef ENABLE_RS274NGC_EXPRESSIONS
311311
// Uncomment to enable named parameters
312312
#define ENABLE_NAMED_PARAMETERS

0 commit comments

Comments
 (0)