From 57745281253c0e06b6de3c7b96f0d0d14d071320 Mon Sep 17 00:00:00 2001 From: BigEd Date: Sun, 15 Apr 2018 18:42:21 +0100 Subject: [PATCH] fixup command line setting of mpu in monitor.py --- py65/monitor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py65/monitor.py b/py65/monitor.py index 16d389c..1070ce9 100644 --- a/py65/monitor.py +++ b/py65/monitor.py @@ -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