From 7243437893e11f14b106ed99c5e20590ac5c7fa9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 05:51:28 +0100 Subject: [PATCH] missed mk_pincon rename for sdcard --- src/bsv/peripheral_gen/sdmmc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bsv/peripheral_gen/sdmmc.py b/src/bsv/peripheral_gen/sdmmc.py index cb83ebd..913ee97 100644 --- a/src/bsv/peripheral_gen/sdmmc.py +++ b/src/bsv/peripheral_gen/sdmmc.py @@ -20,8 +20,9 @@ class sdmmc(PBase): return pname return '' - def mk_pincon(self, name, count): - ret = [PBase.mk_pincon(self, name, count)] + def _mk_pincon(self, name, count, typ): + assert typ == 'slow', "TODO: mkConnection for fast" + ret = [PBase.mk_pincon(self, name, count, typ)] # special-case for gpio in, store in a temporary vector plen = len(self.peripheral.pinspecs) template = "mkConnection({0}.{1},\n\t\t\t{2}.{1});" -- 2.30.2