Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
76ba35d5
Commit
76ba35d5
authored
Jun 13, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Same fix
parent
b7003494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
Marlin_main.cpp
MarlinKimbra/Marlin_main.cpp
+16
-3
No files found.
MarlinKimbra/Marlin_main.cpp
View file @
76ba35d5
...
@@ -1796,13 +1796,24 @@ static void clean_up_after_endstop_move() {
...
@@ -1796,13 +1796,24 @@ static void clean_up_after_endstop_move() {
// First point
// First point
bed_level_c
=
probe_bed
(
0.0
,
0.0
);
bed_level_c
=
probe_bed
(
0.0
,
0.0
);
bool
zig
=
true
;
for
(
int
yCount
=
0
;
yCount
<
auto_bed_leveling_grid_points
;
yCount
++
)
{
for
(
int
yCount
=
0
;
yCount
<
auto_bed_leveling_grid_points
;
yCount
++
)
{
double
yProbe
=
front_probe_bed_position
+
yGridSpacing
*
yCount
;
double
yProbe
=
front_probe_bed_position
+
yGridSpacing
*
yCount
;
int
xStart
,
xStop
,
xInc
;
int
xStart
,
xStop
,
xInc
;
xStart
=
0
;
if
(
zig
)
{
xStop
=
auto_bed_leveling_grid_points
;
xStart
=
0
;
xInc
=
1
;
xStop
=
auto_bed_leveling_grid_points
;
xInc
=
1
;
}
else
{
xStart
=
auto_bed_leveling_grid_points
-
1
;
xStop
=
-
1
;
xInc
=
-
1
;
}
zig
=
!
zig
;
for
(
int
xCount
=
xStart
;
xCount
!=
xStop
;
xCount
+=
xInc
)
{
for
(
int
xCount
=
xStart
;
xCount
!=
xStop
;
xCount
+=
xInc
)
{
double
xProbe
=
left_probe_bed_position
+
xGridSpacing
*
xCount
;
double
xProbe
=
left_probe_bed_position
+
xGridSpacing
*
xCount
;
...
@@ -6209,6 +6220,7 @@ void process_next_command() {
...
@@ -6209,6 +6220,7 @@ void process_next_command() {
case
92
:
// G92
case
92
:
// G92
gcode_G92
();
break
;
gcode_G92
();
break
;
}
}
code_is_good
=
false
;
break
;
break
;
case
'M'
:
switch
(
codenum
)
{
case
'M'
:
switch
(
codenum
)
{
...
@@ -6546,6 +6558,7 @@ void process_next_command() {
...
@@ -6546,6 +6558,7 @@ void process_next_command() {
gcode_SET_Z_PROBE_OFFSET
();
break
;
gcode_SET_Z_PROBE_OFFSET
();
break
;
#endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
#endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
}
}
code_is_good
=
false
;
break
;
break
;
case
'T'
:
case
'T'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment