HAL_ChibiOS: fixed undef for define lines
this fixes IMU heater enable for CubeBlack+
This commit is contained in:
parent
ab5868c0fa
commit
3c058851b2
@ -1639,7 +1639,7 @@ def process_line(line):
|
||||
bylabel.pop(a[1],'')
|
||||
#also remove all occurences of defines in previous lines if any
|
||||
for line in alllines[:]:
|
||||
if line.startswith('define') and a[1] in line:
|
||||
if line.startswith('define') and a[1] == line.split()[1]:
|
||||
alllines.remove(line)
|
||||
newpins = []
|
||||
for pin in allpins:
|
||||
|
Loading…
Reference in New Issue
Block a user