Skip to content

Commit

Permalink
Merge pull request #10 from lurch/patch-1
Browse files Browse the repository at this point in the history
Remove "ADC hack"
  • Loading branch information
Gadgetoid authored Apr 13, 2024
2 parents 5c6e5f5 + 0194410 commit be6d8d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rpipins/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ def styled(label, style, fg=None):
def search(pin, highlight):
if not highlight:
return False
# Hack to make "--find adc" also find A0, A1, etc
if highlight.lower() == "adc":
highlight += "|a[0-9]"
highlight = re.compile(highlight, re.I)
# Match search term against pin label
return re.search(highlight, pin) is not None
Expand Down

0 comments on commit be6d8d5

Please sign in to comment.