renesas-ra/boards: Remove unreachable code in make-pins.py.

Looks like copy-paste from the stm32 make-pins.py, references a function
that is not present in the renesas-ra version.

Found by Ruff checking F821.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton 2023-08-09 18:21:15 +10:00 committed by Damien George
parent 29c022e0f1
commit 974f99482c
1 changed files with 0 additions and 6 deletions

View File

@ -220,13 +220,7 @@ class Pins(object):
for named_pin in self.board_pins:
qstr_set |= set([named_pin.name()])
for qstr in sorted(qstr_set):
cond_var = None
if qstr.startswith("AF"):
af_words = qstr.split("_")
cond_var = conditional_var(af_words[1])
print_conditional_if(cond_var, file=qstr_file)
print("Q({})".format(qstr), file=qstr_file)
# print_conditional_endif(cond_var, file=qstr_file)
def print_ad_hdr(self, ad_const_filename):
with open(ad_const_filename, "wt") as ad_const_file: