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
490eb794
Commit
490eb794
authored
Apr 23, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
42f4a743
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Marlin_main.cpp
MarlinKimbra/Marlin_main.cpp
+5
-4
vector_3.cpp
MarlinKimbra/vector_3.cpp
+2
-2
No files found.
MarlinKimbra/Marlin_main.cpp
View file @
490eb794
...
@@ -3202,6 +3202,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
...
@@ -3202,6 +3202,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
ECHO_LM
(
DB
,
"|...Front...|"
);
ECHO_LM
(
DB
,
"|...Front...|"
);
ECHO_LM
(
DB
,
"+-----------+"
);
ECHO_LM
(
DB
,
"+-----------+"
);
ECHO_LM
(
DB
,
" "
);
for
(
int
yy
=
auto_bed_leveling_grid_points
-
1
;
yy
>=
0
;
yy
--
)
{
for
(
int
yy
=
auto_bed_leveling_grid_points
-
1
;
yy
>=
0
;
yy
--
)
{
for
(
int
xx
=
0
;
xx
<
auto_bed_leveling_grid_points
;
xx
++
)
{
for
(
int
xx
=
0
;
xx
<
auto_bed_leveling_grid_points
;
xx
++
)
{
int
ind
=
yy
*
auto_bed_leveling_grid_points
+
xx
;
int
ind
=
yy
*
auto_bed_leveling_grid_points
+
xx
;
...
@@ -3210,7 +3211,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
...
@@ -3210,7 +3211,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
else
ECHO_M
(
" "
);
else
ECHO_M
(
" "
);
ECHO_V
(
diff
,
5
);
ECHO_V
(
diff
,
5
);
}
// xx
}
// xx
ECHO_
E
;
ECHO_
LM
(
DB
,
" "
)
;
}
// yy
}
// yy
ECHO_E
;
ECHO_E
;
...
@@ -3238,7 +3239,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
...
@@ -3238,7 +3239,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
#endif // !AUTO_BED_LEVELING_GRID
#endif // !AUTO_BED_LEVELING_GRID
if
(
verbose_level
>
0
)
if
(
verbose_level
>
0
)
plan_bed_level_matrix
.
debug
(
"
\n\n
Bed Level Correction Matrix:"
);
plan_bed_level_matrix
.
debug
(
"Bed Level Correction Matrix:"
);
if
(
!
dryrun
)
{
if
(
!
dryrun
)
{
// Correct the Z height difference from z-probe position and hotend tip position.
// Correct the Z height difference from z-probe position and hotend tip position.
...
@@ -3270,8 +3271,8 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
...
@@ -3270,8 +3271,8 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
run_z_probe
();
run_z_probe
();
ECHO_SM
(
DB
,
"Bed"
);
ECHO_SM
(
DB
,
"Bed"
);
ECHO_M
(
" X: "
,
current_position
[
X_AXIS
]
+
0.0001
);
ECHO_M
V
(
" X: "
,
current_position
[
X_AXIS
]
+
0.0001
);
ECHO_M
(
" Y: "
,
current_position
[
Y_AXIS
]
+
0.0001
);
ECHO_M
V
(
" Y: "
,
current_position
[
Y_AXIS
]
+
0.0001
);
ECHO_EMV
(
" Z: "
,
current_position
[
Z_AXIS
]
+
0.0001
);
ECHO_EMV
(
" Z: "
,
current_position
[
Z_AXIS
]
+
0.0001
);
clean_up_after_endstop_move
();
clean_up_after_endstop_move
();
...
...
MarlinKimbra/vector_3.cpp
View file @
490eb794
...
@@ -117,7 +117,7 @@ matrix_3x3 matrix_3x3::transpose(matrix_3x3 original) {
...
@@ -117,7 +117,7 @@ matrix_3x3 matrix_3x3::transpose(matrix_3x3 original) {
}
}
void
matrix_3x3
::
debug
(
const
char
title
[])
{
void
matrix_3x3
::
debug
(
const
char
title
[])
{
ECHO_
S
V
(
DB
,
title
);
ECHO_
L
V
(
DB
,
title
);
int
count
=
0
;
int
count
=
0
;
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
for
(
int
j
=
0
;
j
<
3
;
j
++
)
{
for
(
int
j
=
0
;
j
<
3
;
j
++
)
{
...
@@ -126,7 +126,7 @@ void matrix_3x3::debug(const char title[]) {
...
@@ -126,7 +126,7 @@ void matrix_3x3::debug(const char title[]) {
ECHO_C
(
' '
);
ECHO_C
(
' '
);
count
++
;
count
++
;
}
}
ECHO_
E
;
ECHO_
LM
(
DB
,
" "
)
;
}
}
}
}
...
...
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