File tree 2 files changed +8
-14
lines changed
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -26,37 +26,39 @@ uint8_t next_tool;
26
26
27
27
28
28
/*
29
- public functions
29
+ private functions
30
+
31
+ this is where we construct a move without a gcode command, useful for gcodes which require multiple moves eg; homing
30
32
*/
31
33
32
- void zero_x (void ) {
34
+ static void zero_x (void ) {
33
35
TARGET t = startpoint ;
34
36
t .X = 0 ;
35
37
t .F = SEARCH_FEEDRATE_X ;
36
38
enqueue (& t );
37
39
}
38
40
39
- void zero_y (void ) {
41
+ static void zero_y (void ) {
40
42
TARGET t = startpoint ;
41
43
t .Y = 0 ;
42
44
t .F = SEARCH_FEEDRATE_Y ;
43
45
enqueue (& t );
44
46
}
45
47
46
- void zero_z (void ) {
48
+ static void zero_z (void ) {
47
49
TARGET t = startpoint ;
48
50
t .Z = 0 ;
49
51
t .F = SEARCH_FEEDRATE_Z ;
50
52
enqueue (& t );
51
53
}
52
54
53
- void zero_e (void ) {
55
+ static void zero_e (void ) {
54
56
TARGET t = startpoint ;
55
57
t .E = 0 ;
56
58
enqueue (& t );
57
59
}
58
60
59
- void SpecialMoveE (int32_t e , uint32_t f ) {
61
+ static void SpecialMoveE (int32_t e , uint32_t f ) {
60
62
TARGET t = startpoint ;
61
63
t .E = e ;
62
64
t .F = f ;
Original file line number Diff line number Diff line change @@ -8,14 +8,6 @@ extern uint8_t tool;
8
8
// the tool to be changed when we get an M6
9
9
extern uint8_t next_tool ;
10
10
11
- void zero_x (void );
12
- void zero_y (void );
13
- void zero_z (void );
14
- void zero_e (void );
15
-
16
- // this is where we construct a move without a gcode command, useful for gcodes which require multiple moves eg; homing
17
- void SpecialMoveE (int32_t e , uint32_t f );
18
-
19
11
// when we have a whole line, feed it to this
20
12
void process_gcode_command (void );
21
13
You can’t perform that action at this time.
0 commit comments