mirror of
https://github.com/grblHAL/core.git
synced 2026-02-05 16:50:16 +08:00
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.
16 lines
662 B
C
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
|