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
033ec4d4
Commit
033ec4d4
authored
Apr 17, 2016
by
MagoKimbra
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
parents
cb5aff45
d0e26714
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MK_Main.cpp
MK/module/MK_Main.cpp
+1
-1
stepper.cpp
MK/module/motion/stepper.cpp
+1
-1
No files found.
MK/module/MK_Main.cpp
View file @
033ec4d4
...
@@ -2819,7 +2819,7 @@ void gcode_get_destination() {
...
@@ -2819,7 +2819,7 @@ void gcode_get_destination() {
if
(
code_seen
(
axis_codes
[
E_AXIS
]))
IDLE_OOZING_retract
(
false
);
if
(
code_seen
(
axis_codes
[
E_AXIS
]))
IDLE_OOZING_retract
(
false
);
#endif
#endif
for
(
int
i
=
0
;
i
<
Z_AXIS
;
i
++
)
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
if
(
code_seen
(
axis_codes
[
i
]))
if
(
code_seen
(
axis_codes
[
i
]))
destination
[
i
]
=
code_value
()
+
(
axis_relative_modes
[
i
]
||
relative_mode
?
current_position
[
i
]
:
-
hotend_offset
[
i
][
active_extruder
]);
destination
[
i
]
=
code_value
()
+
(
axis_relative_modes
[
i
]
||
relative_mode
?
current_position
[
i
]
:
-
hotend_offset
[
i
][
active_extruder
]);
else
else
...
...
MK/module/motion/stepper.cpp
View file @
033ec4d4
...
@@ -1388,7 +1388,7 @@ void digipot_init() {
...
@@ -1388,7 +1388,7 @@ void digipot_init() {
#if MB(ALLIGATOR)
#if MB(ALLIGATOR)
unsigned
int
digipot_motor
=
0
;
unsigned
int
digipot_motor
=
0
;
for
(
uint8_t
i
=
0
;
i
<
3
+
DRIVER_EXTRUDERS
;
i
++
)
{
for
(
uint8_t
i
=
0
;
i
<
3
+
DRIVER_EXTRUDERS
;
i
++
)
{
digipot_motor
=
255
*
(
motor_current
[
i
]
/
2.5
)
;
digipot_motor
=
255
*
motor_current
[
i
]
/
3.3
;
ExternalDac
::
setValue
(
i
,
digipot_motor
);
ExternalDac
::
setValue
(
i
,
digipot_motor
);
}
}
#endif//MB(ALLIGATOR)
#endif//MB(ALLIGATOR)
...
...
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