1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-01 18:41:32 +00:00

fixup command line setting of mpu in monitor.py

This commit is contained in:
BigEd 2018-04-15 18:42:21 +01:00 committed by GitHub
parent d014a20a73
commit 5774528125
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