Make TMC2130 init code auto-configure

Simply apply enabled settings instead of requiring users to edit
stepper_indirection.cpp
This commit is contained in:
Scott Lahteine committed 2016-11-21 00:52:17 -06:00
1 parent d67c1d825f
commit bf5f5f44cc
19 files changed
+443 -341

No files matched your search

+2 -5
View File
@@ -790,11 +790,8 @@
#if ENABLED(TMC2130_ADVANCED_CONFIGURATION)
// If you have enabled TMC2130_ADVANCED_CONFIGURATION,
// you can define global settings here, but you still need
// to configure the tmc2130.init() method manually in the file
//
// stepper_indirection.cpp
// If you've enabled TMC2130_ADVANCED_CONFIGURATION, define global settings below.
// Enabled settings will be automatically applied to all axes specified above.
//
// Please read the TMC2130 datasheet:
// http://www.trinamic.com/_articles/products/integrated-circuits/tmc2130/_datasheet/TMC2130_datasheet.pdf