mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 22:05:10 +03:00
Prep RC23
This commit is contained in:
parent
e96a41f460
commit
c68086c561
4 changed files with 314 additions and 0 deletions
14
tools/rc23/tts_common.py
Normal file
14
tools/rc23/tts_common.py
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue