missed mk_pincon rename for sdcard
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:51:28 +0000 (05:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:51:28 +0000 (05:51 +0100)
src/bsv/peripheral_gen/sdmmc.py

index cb83ebd220c10fa91c6f603b61f52661546bb218..913ee97fc49b01ee5190aa4b3f9cb14e5ba4bd6c 100644 (file)
@@ -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});"