14 lines
422 B
Django/Jinja
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 %}
|
|
};
|