feat: Support for WS2812 RGB LEDs (#3909)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
This commit is contained in:
Regular → Executable
+1
-1
@@ -19,7 +19,7 @@ def addLine(filename, newline, after):
|
||||
|
||||
|
||||
def modifyTranslations(constant, translation, after):
|
||||
for filename in glob.glob('translations/*.h.txt'):
|
||||
for filename in glob.glob('translations/*.h'):
|
||||
newline = "#define " + constant + " " * max(1, 31 - len(constant)) + '"' + translation + '"'
|
||||
addLine(filename, newline, after + " ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user