CZ translation added to FrSky compilation script

This commit is contained in:
Bertrand Songis
2019-09-05 08:53:27 +02:00
parent f24407d257
commit 2c018e7144
+1 -1
View File
@@ -107,7 +107,7 @@ def build(board, translation, srcdir):
index = 0
while 1:
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s%s.bin" % (board.lower(), timestamp(), suffix)
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
break