From 936afdd8091037f6fc69d85ede9df70b7b31231a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 24 Jul 2018 14:23:23 +0100 Subject: [PATCH] add master-only spi and quad-spi --- src/bsv/peripheral_gen/nspi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bsv/peripheral_gen/nspi.py b/src/bsv/peripheral_gen/nspi.py index a9b61b4..dadd7ca 100644 --- a/src/bsv/peripheral_gen/nspi.py +++ b/src/bsv/peripheral_gen/nspi.py @@ -5,8 +5,6 @@ class nspi(PBase): def __init__(self, name, masteronly): PBase.__init__(self, name) - if masteronly: - name = "m" + name self.ifndict = {'N': name.upper(), 'n': name} self.masteronly = masteronly assert masteronly, "Only master only %s supported for now" % name -- 2.30.2