Files
edgetx-gx12/radio/util/hw_defs/lua_inputs.jinja
T

14 lines
422 B
Django/Jinja

//
// WARNING: DO NOT EDIT THIS FILE
// This file has been generated from the target's JSON hardware description
//
{% set inputs = adc_inputs.inputs | selectattr('type', '==', 'FLEX') | list %}
static const LuaSingleField _lua_inputs[] = {
{% for input in inputs %}
{% set li = legacy_inputs[input.name] %}
{ MIXSRC_FIRST_POT + {{ loop.index0 }}, "{{ li.lua }}", "{{ li.description }}" },
{% endfor %}
};