tmc2130: Rename driver_BLANK_TIME_SELECT to driver_TBL
Use the field names from the trinamic specification. This makes the field similar to all the other driver_XXX config options. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9c0cf829ee
commit
563bc37073
|
@ -937,7 +937,7 @@
|
|||
# "stealthChop" mode.
|
||||
#driver_IHOLDDELAY: 8
|
||||
#driver_TPOWERDOWN: 0
|
||||
#driver_BLANK_TIME_SELECT: 1
|
||||
#driver_TBL: 1
|
||||
#driver_TOFF: 4
|
||||
#driver_HEND: 7
|
||||
#driver_HSTRT: 0
|
||||
|
@ -997,7 +997,7 @@
|
|||
# "stealthChop" mode.
|
||||
#driver_IHOLDDELAY: 8
|
||||
#driver_TPOWERDOWN: 20
|
||||
#driver_BLANK_TIME_SELECT: 2
|
||||
#driver_TBL: 2
|
||||
#driver_TOFF: 3
|
||||
#driver_HEND: 0
|
||||
#driver_HSTRT: 5
|
||||
|
|
|
@ -6,6 +6,9 @@ All dates in this document are approximate.
|
|||
|
||||
# Changes
|
||||
|
||||
20190308: The "driver_BLANK_TIME_SELECT" field in [tmc2130] and
|
||||
[tmc2208] config sections has been renamed to "driver_TBL".
|
||||
|
||||
20190308: The [tmc2660] config section has changed. A new
|
||||
sense_resistor config parameter must now be provided. The meaning of
|
||||
several of the driver_XXX parameters has changed.
|
||||
|
|
|
@ -235,7 +235,7 @@ class TMC2130:
|
|||
set_config_field(config, "toff", 4)
|
||||
set_config_field(config, "hstrt", 0)
|
||||
set_config_field(config, "hend", 7)
|
||||
set_config_field(config, "TBL", 1, "driver_BLANK_TIME_SELECT")
|
||||
set_config_field(config, "TBL", 1)
|
||||
set_config_field(config, "intpol", True, "interpolate")
|
||||
set_config_field(config, "IHOLDDELAY", 8)
|
||||
set_config_field(config, "TPOWERDOWN", 0)
|
||||
|
|
|
@ -295,7 +295,7 @@ class TMC2208:
|
|||
set_config_field(config, "toff", 3)
|
||||
set_config_field(config, "hstrt", 5)
|
||||
set_config_field(config, "hend", 0)
|
||||
set_config_field(config, "TBL", 2, "driver_BLANK_TIME_SELECT")
|
||||
set_config_field(config, "TBL", 2)
|
||||
set_config_field(config, "intpol", True, "interpolate")
|
||||
set_config_field(config, "IHOLDDELAY", 8)
|
||||
set_config_field(config, "TPOWERDOWN", 20)
|
||||
|
|
Loading…
Reference in New Issue