Review handling of combine INTERNAL_PPM and MULTIMODULE (#4826)
[opentx.git] / tools / release22 / tts_common.py
blob25623b005340d853f54e230207cef7451c14a51e
1 NO_ALTERNATE = 1024
2 PROMPT_CUSTOM_BASE = 256
3 PROMPT_SYSTEM_BASE = 0
4 board = "taranis"
6 import sys
8 def filename(idx, alternate=0):
9 ext = ".wav"
10 if isinstance(idx, int):
11 result = "%04d%s" % (idx, ext)
12 elif board in ('sky9x', 'taranis'):
13 result = idx + ext
14 return result