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:
parent
29c022e0f1
commit
974f99482c
|
@ -220,13 +220,7 @@ class Pins(object):
|
||||||
for named_pin in self.board_pins:
|
for named_pin in self.board_pins:
|
||||||
qstr_set |= set([named_pin.name()])
|
qstr_set |= set([named_pin.name()])
|
||||||
for qstr in sorted(qstr_set):
|
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("Q({})".format(qstr), file=qstr_file)
|
||||||
# print_conditional_endif(cond_var, file=qstr_file)
|
|
||||||
|
|
||||||
def print_ad_hdr(self, ad_const_filename):
|
def print_ad_hdr(self, ad_const_filename):
|
||||||
with open(ad_const_filename, "wt") as ad_const_file:
|
with open(ad_const_filename, "wt") as ad_const_file:
|
||||||
|
|
Loading…
Reference in New Issue