gnea\grbl-Mega
1.0f
Source Code Documentation ( Internal Workings )
jog.h
Go to the documentation of this file.
1
/*
2
jog.h - Jogging methods
3
Part of Grbl
4
5
Copyright (c) 2016 Sungeun K. Jeon for Gnea Research LLC
6
7
Grbl is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
Grbl is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Grbl. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef jog_h
22
#define jog_h
23
24
#include "
gcode.h
"
26
#define JOG_LINE_NUMBER 0
27
uint8_t
jog_execute
(
plan_line_data_t
*
pl_data
,
parser_block_t
*
gc_block
);
29
30
#endif
gcode.h
plan_line_data_t
Planner data prototype. Must be used when passing new motions to the planner.
Definition:
planner.h:78
parser_block_t
Definition:
gcode.h:214
jog_execute
uint8_t jog_execute(plan_line_data_t *pl_data, parser_block_t *gc_block)
Sets up valid jog motion received from g-code parser, checks for soft-limits, and executes the jog...
Definition:
jog.c:24
gc_block
parser_block_t gc_block
Definition:
gcode.c:36
pl_data
plan_line_data_t * pl_data
Definition:
gcode.c:859
grbl
jog.h
Generated by
1.8.10