mirror of
https://github.com/mnaberez/py65.git
synced 2024-09-28 00:54:54 +00:00
fixup command line setting of mpu in monitor.py
This commit is contained in:
parent
d014a20a73
commit
5774528125
@ -105,8 +105,7 @@ class Monitor(cmd.Cmd):
|
|||||||
msg = "Fatal: no such MPU. Available MPUs: %s"
|
msg = "Fatal: no such MPU. Available MPUs: %s"
|
||||||
self._output(msg % ', '.join(mpus))
|
self._output(msg % ', '.join(mpus))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
cmd = "mpu %s" % mpu
|
self.mpu_type = self._get_mpu(mpu)
|
||||||
self.onecmd(cmd)
|
|
||||||
|
|
||||||
if load is not None:
|
if load is not None:
|
||||||
cmd = "load %s" % load
|
cmd = "load %s" % load
|
||||||
|
Loading…
Reference in New Issue
Block a user