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
b2e641d2
Commit
b2e641d2
authored
Apr 24, 2016
by
MagoKimbra
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
parents
8dabeadc
c9f51a43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
MK.ino
MK/MK.ino
+1
-1
MK_Main.cpp
MK/module/MK_Main.cpp
+10
-5
No files found.
MK/MK.ino
View file @
b2e641d2
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* MK Firmware
* MK Firmware
*
*
* Based on Marlin, Sprinter and grbl
* Based on Marlin, Sprinter and grbl
* Copyright (C) 2013 MagoKimbra
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2013 - 2016 Alberto Cotronei @MagoKimbra
*
*
* This program is free software: you can redistribute it and/or modify
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
...
MK/module/MK_Main.cpp
View file @
b2e641d2
...
@@ -2689,8 +2689,9 @@ static void clean_up_after_endstop_move() {
...
@@ -2689,8 +2689,9 @@ static void clean_up_after_endstop_move() {
#endif
#endif
#if HOTENDS > 1
#if HOTENDS > 1
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
ECHO_MV
(
" T"
,
h
);
ECHO_MV
(
" T"
,
(
int
)
h
);
ECHO_MV
(
":"
,
degHotend
(
h
),
1
);
ECHO_C
(
':'
);
ECHO_V
(
degHotend
(
h
),
1
);
ECHO_MV
(
" /"
,
degTargetHotend
(
h
),
1
);
ECHO_MV
(
" /"
,
degTargetHotend
(
h
),
1
);
}
}
#endif
#endif
...
@@ -2710,7 +2711,7 @@ static void clean_up_after_endstop_move() {
...
@@ -2710,7 +2711,7 @@ static void clean_up_after_endstop_move() {
#endif
#endif
#if HOTENDS > 1
#if HOTENDS > 1
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
ECHO_MV
(
" "
SERIAL_AT
,
h
);
ECHO_MV
(
" "
SERIAL_AT
,
(
int
)
h
);
ECHO_C
(
':'
);
ECHO_C
(
':'
);
#if ENABLED(HOTEND_WATTS)
#if ENABLED(HOTEND_WATTS)
ECHO_VM
(((
HOTEND_WATTS
)
*
getHeaterPower
(
h
))
/
127
,
"W"
);
ECHO_VM
(((
HOTEND_WATTS
)
*
getHeaterPower
(
h
))
/
127
,
"W"
);
...
@@ -2725,8 +2726,9 @@ static void clean_up_after_endstop_move() {
...
@@ -2725,8 +2726,9 @@ static void clean_up_after_endstop_move() {
ECHO_MV
(
"C->"
,
rawBedTemp
()
/
OVERSAMPLENR
,
0
);
ECHO_MV
(
"C->"
,
rawBedTemp
()
/
OVERSAMPLENR
,
0
);
#endif
#endif
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
for
(
uint8_t
h
=
0
;
h
<
HOTENDS
;
++
h
)
{
ECHO_MV
(
" T"
,
h
);
ECHO_MV
(
" T"
,
(
int
)
h
);
ECHO_MV
(
":"
,
degHotend
(
h
),
1
);
ECHO_C
(
':'
);
ECHO_V
(
degHotend
(
h
),
1
);
ECHO_MV
(
"C->"
,
rawHotendTemp
(
h
)
/
OVERSAMPLENR
,
0
);
ECHO_MV
(
"C->"
,
rawHotendTemp
(
h
)
/
OVERSAMPLENR
,
0
);
}
}
#endif
#endif
...
@@ -3805,6 +3807,9 @@ inline void gcode_G28() {
...
@@ -3805,6 +3807,9 @@ inline void gcode_G28() {
// Sled assembly for Cartesian bots
// Sled assembly for Cartesian bots
#if HAS(Z_PROBE_SLED)
#if HAS(Z_PROBE_SLED)
dock_sled
(
true
);
// dock the probe
dock_sled
(
true
);
// dock the probe
#elif HASNT(SERVO_ENDSTOPS) && Z_RAISE_AFTER_PROBING > 0
// Raise Z axis for non servo based probes
raise_z_after_probing
();
#endif
#endif
#if ENABLED(Z_PROBE_END_SCRIPT)
#if ENABLED(Z_PROBE_END_SCRIPT)
...
...
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