From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 13:14:27 +0000 (+0100) Subject: remove tweak on i2c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57fc37ed0b97a0bdae271b07173ed0728aca9e05;p=pinmux.git remove tweak on i2c --- diff --git a/src/bsv/peripheral_gen/twi.py b/src/bsv/peripheral_gen/twi.py index 4c0d815..2fcd6fe 100644 --- a/src/bsv/peripheral_gen/twi.py +++ b/src/bsv/peripheral_gen/twi.py @@ -30,11 +30,6 @@ class twi(PBase): return {'sda': 'out.sda_out_en', 'scl': 'out.scl_out_en'}.get(pname, '') - def pinname_tweak(self, pname, typ, txt): - if typ == 'outen': - return "pack({0})".format(txt) - return txt - def num_irqs(self): return 3