From 4365683ec32af1937a17910cc33b58c107d80a99 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 3 Aug 2018 09:01:16 +0100 Subject: [PATCH] whoops typo in binary number --- src/bsv/peripheral_gen/gpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsv/peripheral_gen/gpio.py b/src/bsv/peripheral_gen/gpio.py index 095d654..c01dd1a 100644 --- a/src/bsv/peripheral_gen/gpio.py +++ b/src/bsv/peripheral_gen/gpio.py @@ -40,7 +40,7 @@ class gpio(PBase): size = len(self.peripheral.pinspecs) dflt_ = "%s" % ("0"*size*2) # default if not set in spec dflt = self.peripheral.configs[0].get("muxconfig", dflt_) - return "MUX#(%d) mux{0} <- mkmux(`b%s);\n" % (size, dflt)+ \ + return "MUX#(%d) mux{0} <- mkmux('b%s);\n" % (size, dflt)+ \ "GPIO#(%d) gpio{0} <- mkgpio();" % size def mk_connection(self, count, fabricname, typ): -- 2.30.2