Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
66d02210
Commit
66d02210
authored
5 years ago
by
Jason Smith
Committed by
Scott Lahteine
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix build with more than 2 Trinamic E steppers (#15329)
parent
9c288a68
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/module/stepper/trinamic.h
+4
-4
4 additions, 4 deletions
Marlin/src/module/stepper/trinamic.h
with
4 additions
and
4 deletions
Marlin/src/module/stepper/trinamic.h
+
4
−
4
View file @
66d02210
...
...
@@ -181,7 +181,7 @@ void reset_trinamic_drivers();
// E2 Stepper
#if AXIS_IS_TMC(E2)
extern
TMC_CLASS_E
(
1
)
stepperE2
;
extern
TMC_CLASS_E
(
2
)
stepperE2
;
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E2)
#define E2_ENABLE_INIT NOOP
#define E2_ENABLE_WRITE(STATE) stepperE2.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
...
...
@@ -194,7 +194,7 @@ void reset_trinamic_drivers();
// E3 Stepper
#if AXIS_IS_TMC(E3)
extern
TMC_CLASS_E
(
1
)
stepperE3
;
extern
TMC_CLASS_E
(
3
)
stepperE3
;
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E3)
#define E3_ENABLE_INIT NOOP
#define E3_ENABLE_WRITE(STATE) stepperE3.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
...
...
@@ -207,7 +207,7 @@ void reset_trinamic_drivers();
// E4 Stepper
#if AXIS_IS_TMC(E4)
extern
TMC_CLASS_E
(
1
)
stepperE4
;
extern
TMC_CLASS_E
(
4
)
stepperE4
;
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E4)
#define E4_ENABLE_INIT NOOP
#define E4_ENABLE_WRITE(STATE) stepperE4.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
...
...
@@ -220,7 +220,7 @@ void reset_trinamic_drivers();
// E5 Stepper
#if AXIS_IS_TMC(E5)
extern
TMC_CLASS_E
(
1
)
stepperE5
;
extern
TMC_CLASS_E
(
5
)
stepperE5
;
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E5)
#define E5_ENABLE_INIT NOOP
#define E5_ENABLE_WRITE(STATE) stepperE5.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment