1
0
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:
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" 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