tmc2209: Remove duplicate `pdn_disable` initialization

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
Alex Voinea 2023-03-15 12:13:35 +01:00 committed by KevinOConnor
parent 0d5b96a601
commit 117c1d42ac
1 changed files with 0 additions and 1 deletions

View File

@ -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)