From 6bdfa3add7d3d9a10ad5bb48809c0da80e9e41df Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Aug 2018 12:08:13 +0100 Subject: [PATCH] pep8 whitespace cleanup --- src/bsv/peripheral_gen/base.py | 2 +- src/bsv/peripheral_gen/emmc.py | 1 - src/bsv/peripheral_gen/sdmmc.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bsv/peripheral_gen/base.py b/src/bsv/peripheral_gen/base.py index b9fcdc5..83af2c0 100644 --- a/src/bsv/peripheral_gen/base.py +++ b/src/bsv/peripheral_gen/base.py @@ -149,7 +149,7 @@ class PBase(MMapConfig): if cfgstart: start = cfgstart end = start + offs - 1 - offs = 0 # don't do contiguous addressing + offs = 0 # don't do contiguous addressing else: end = start + offs - 1 bname = self.axibase(name, ifacenum, idx) diff --git a/src/bsv/peripheral_gen/emmc.py b/src/bsv/peripheral_gen/emmc.py index 3dea943..44df670 100644 --- a/src/bsv/peripheral_gen/emmc.py +++ b/src/bsv/peripheral_gen/emmc.py @@ -14,4 +14,3 @@ class emmc(MMCBase): def _mk_connection(self, name=None, count=0): return "emmc{0}.slave" - diff --git a/src/bsv/peripheral_gen/sdmmc.py b/src/bsv/peripheral_gen/sdmmc.py index 3497df6..a95f329 100644 --- a/src/bsv/peripheral_gen/sdmmc.py +++ b/src/bsv/peripheral_gen/sdmmc.py @@ -14,4 +14,3 @@ class sdmmc(MMCBase): def _mk_connection(self, name=None, count=0): return "mmc{0}.slave" - -- 2.30.2