mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
* Scripts * No suffix for docker image * generate sdcard file to subdirectories to match companion changes * Massively increase options for simus backup lua_fields info for lua docs * Allow both nightly and release to be built * $ ambiguity * Cleanup * Tidy up * Cosmetics
14 lines
285 B
Python
14 lines
285 B
Python
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
|