tmc2209: Remove duplicate `pdn_disable` initialization
Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
parent
0d5b96a601
commit
117c1d42ac
|
@ -71,7 +71,6 @@ class TMC2209:
|
||||||
self.get_phase_offset = cmdhelper.get_phase_offset
|
self.get_phase_offset = cmdhelper.get_phase_offset
|
||||||
self.get_status = cmdhelper.get_status
|
self.get_status = cmdhelper.get_status
|
||||||
# Setup basic register values
|
# Setup basic register values
|
||||||
self.fields.set_field("pdn_disable", True)
|
|
||||||
self.fields.set_field("mstep_reg_select", True)
|
self.fields.set_field("mstep_reg_select", True)
|
||||||
self.fields.set_field("multistep_filt", True)
|
self.fields.set_field("multistep_filt", True)
|
||||||
tmc.TMCStealthchopHelper(config, self.mcu_tmc, TMC_FREQUENCY)
|
tmc.TMCStealthchopHelper(config, self.mcu_tmc, TMC_FREQUENCY)
|
||||||
|
|
Loading…
Reference in New Issue