Files
grblHAL/ngc_expr.h
Terje Io 0b8bce16c6 Added support for named o-sub/o-call to flow control, for calling gcode subroutines stored on SD card or in littlefs.
Sub name matches filename with extension .macro.
Added core event for handling special gcode comments used by expressions and flow control: DEBUG, PRINT and ABORT.
Added overrideable default $-setting values for second PWM spindle to grbl/config.c.
2024-11-16 22:02:00 +01:00

16 lines
662 B
C

/* ngc_expr.h */
#ifndef _NGC_EXPR_H_
#define _NGC_EXPR_H_
status_code_t ngc_read_name (char *line, uint_fast8_t *pos, char *buffer);
status_code_t ngc_read_real_value (char *line, uint_fast8_t *pos, float *value);
status_code_t ngc_read_integer_value(char *line, uint_fast8_t *pos, int32_t *value);
status_code_t ngc_read_integer_unsigned (char *line, uint_fast8_t *pos, uint32_t *value);
status_code_t ngc_read_parameter (char *line, uint_fast8_t *pos, float *value, bool check);
status_code_t ngc_eval_expression (char *line, uint_fast8_t *pos, float *value);
char *ngc_substitute_parameters (char *line);
char *ngc_process_comment (char *comment);
#endif