Skip to content

Commit

Permalink
fixup! [rp] Add GPIO module
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Jan 23, 2022
1 parent ca4d300 commit a2f3955
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modm/platform/gpio/rp/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ def port_ranges(gpios):
ports.sort(key=lambda p: p["name"])
return ports

subs = {}

def translate(s):
return "".join(p.capitalize() for p in s.split("_"))
# -----------------------------------------------------------------------------


def init(module):
Expand Down

0 comments on commit a2f3955

Please sign in to comment.