mcu: config_reset_cmd typo fixed

Signed-off-by: Petri Honkala <cruwaller@gmail.com>
This commit is contained in:
cruwaller 2018-06-01 15:47:35 +03:00 committed by KevinOConnor
parent ff9543eee2
commit 26378c2564
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ class MCU:
self._config_reset_cmd = self.try_lookup_command("config_reset")
if (self._restart_method is None
and (self._reset_cmd is not None
or self.config_reset_cmd is not None)
or self._config_reset_cmd is not None)
and self._serial.msgparser.get_constant(
'SERIAL_BAUD', None) is None):
self._restart_method = 'command'