Files
2026-08-03 16:37:20 +08:00

16 lines
591 B
Django/Jinja

//
// WARNING: DO NOT EDIT THIS FILE
// This file has been generated from the target's JSON hardware description
//
{% set main_inputs = adc_inputs.inputs | selectattr('type', '==', 'STICK') | list %}
{% for input in main_inputs %}
{% set label = main_labels[input.name] %}
LROT_NUMENTRY( MIXSRC_{{ label.str }}, MIXSRC_FIRST_STICK + {{ loop.index0 }} )
{% endfor %}
{% set regular_switches = switches | selectattr('type','!=','FSWITCH') | list %}
{% for switch in regular_switches %}
LROT_NUMENTRY( MIXSRC_{{ switch.name }}, MIXSRC_FIRST_SWITCH + {{ loop.index0 }} )
{% endfor %}