We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47097af commit 640eed4Copy full SHA for 640eed4
CI/utils/stm32cube.py
@@ -155,7 +155,7 @@ def updateStm32Def(serie):
155
pcond = "elif"
156
print("#{} defined(STM32{}xx)".format(pcond, serie))
157
print(' #include "stm32{}xx.h"'.format(serie.lower()))
158
- print(line.replace("if", "elif"), end="")
+ print(line.replace("#if", "#elif"), end="")
159
added = True
160
else:
161
print(line, end="")
0 commit comments