Skip to content

Commit

Permalink
ports/psoc6: Remove additional whitespaces.
Browse files Browse the repository at this point in the history
Signed-off-by: NikhitaR-IFX <[email protected]>
  • Loading branch information
NikhitaR-IFX committed Sep 11, 2023
1 parent 1de6232 commit fd6ff5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ports/psoc6/boards/make-pins.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
from __future__ import print_function

import argparse
import sys
import csv
import re
import os

# Helper function to get the deduce the port_pin address

def get_pin_addr_helper(pin_def):
# Regular expression pattern to extract port and pin numbers
pattern = r"CYHAL_PORT_(\d+),\s*(\d+)"
match = re.search(pattern, pin_def)
port_number = match.group(1)
Expand Down

0 comments on commit fd6ff5b

Please sign in to comment.