mcu: config_reset_cmd typo fixed
Signed-off-by: Petri Honkala <cruwaller@gmail.com>
This commit is contained in:
parent
ff9543eee2
commit
26378c2564
|
@ -605,7 +605,7 @@ class MCU:
|
||||||
self._config_reset_cmd = self.try_lookup_command("config_reset")
|
self._config_reset_cmd = self.try_lookup_command("config_reset")
|
||||||
if (self._restart_method is None
|
if (self._restart_method is None
|
||||||
and (self._reset_cmd is not 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(
|
and self._serial.msgparser.get_constant(
|
||||||
'SERIAL_BAUD', None) is None):
|
'SERIAL_BAUD', None) is None):
|
||||||
self._restart_method = 'command'
|
self._restart_method = 'command'
|
||||||
|
|
Loading…
Reference in New Issue