pins: Don't pass mcu_freq to update_command()

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-09-12 13:54:53 -04:00
parent 2a6a9eb52f
commit 52156d2c41
3 changed files with 3 additions and 5 deletions

View File

@@ -153,8 +153,7 @@ class KeyboardReader:
self.output("Eval: %s" % (line,))
if self.pins is not None:
try:
line = pins.update_command(
line, self.mcu_freq, self.pins).strip()
line = pins.update_command(line, self.pins).strip()
except:
self.output("Unable to map pin: %s" % (line,))
return None