Allow RC builds

This commit is contained in:
3djc
2017-11-29 10:17:28 +01:00
parent 13f364d96a
commit d772cd39ea
4 changed files with 254 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
NO_ALTERNATE = 1024
PROMPT_CUSTOM_BASE = 256
PROMPT_SYSTEM_BASE = 0
board = "taranis"
import sys
def filename(idx, alternate=0):
ext = ".wav"
if isinstance(idx, int):
result = "%04d%s" % (idx, ext)
elif board in ('sky9x', 'taranis'):
result = idx + ext
return result