1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-09 10:29:35 +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:
Mike Naberezny 2018-04-15 12:56:37 -07:00 committed by GitHub
commit ceba4dbafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,8 +105,7 @@ class Monitor(cmd.Cmd):
msg = "Fatal: no such MPU. Available MPUs: %s"
self._output(msg % ', '.join(mpus))
sys.exit(1)
cmd = "mpu %s" % mpu
self.onecmd(cmd)
self.mpu_type = self._get_mpu(mpu)
if load is not None:
cmd = "load %s" % load