mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
pins: Don't pass mcu_freq to update_command()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2a6a9eb52f
commit
52156d2c41
3 changed files with 3 additions and 5 deletions
|
@ -612,8 +612,7 @@ class MCU:
|
|||
updated_cmds = []
|
||||
for cmd in self._config_cmds:
|
||||
try:
|
||||
updated_cmds.append(pins.update_command(
|
||||
cmd, self._mcu_freq, pnames))
|
||||
updated_cmds.append(pins.update_command(cmd, pnames))
|
||||
except:
|
||||
raise pins.error("Unable to translate pin name: %s" % (cmd,))
|
||||
self._config_cmds = updated_cmds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue