tmc2209: Remove duplicate pdn_disable initialization

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
Alex Voinea authored and KevinOConnor committed 2023-03-15 11:06:24 -04:00
1 parent 0d5b96a601
commit 117c1d42ac
1 file changed
-1
-1
View File
@@ -71,7 +71,6 @@ class TMC2209:
self.get_phase_offset = cmdhelper.get_phase_offset
self.get_status = cmdhelper.get_status
# Setup basic register values
self.fields.set_field("pdn_disable", True)
self.fields.set_field("mstep_reg_select", True)
self.fields.set_field("multistep_filt", True)
tmc.TMCStealthchopHelper(config, self.mcu_tmc, TMC_FREQUENCY)