mirror of
https://github.com/mnaberez/py65.git
synced 2024-08-06 23:28:59 +00:00
Merge pull request #38 from mnaberez/BigEd-patch-1
fixup command line setting of mpu in monitor.py
This commit is contained in:
commit
ceba4dbafa
@ -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