Commit dee5d9d1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8b644147
......@@ -4,9 +4,7 @@
rf_driver: {
name: "sdr",
XXX move to ru/sdr ?
name: "sdr",
args: "dev0=/dev/sdr3,dev1=/dev/sdr4,dev2=/dev/sdr2@0,dev3=/dev/sdr2@1",
rx_antenna:"tx_rx", XXX -> ru/sdr ?
......
......@@ -157,9 +157,9 @@
{%- else %}
name: "sdr",
{%- endif %}
{% if slapparameter_dict.get('gps_sync', False) %}
{%- if slapparameter_dict.get('gps_sync', False) %}
sync: "gps",
{% endif %}
{%- endif %}
{%- set dev_argv = [] %}
{%- set ru_sdr_dict = {} %} {# dev -> ru for ru with ru_type = sdr #}
......@@ -169,7 +169,7 @@
{%- do ru.update({'.rf_port': rf_port}) %}
{%- if ru['ru_type'] == 'sdr' %}
{%- do ru_sdr_dict.update({len(dev_argv): ru}) %}
XXX move to ru/sdr ?
{#- XXX move to ru/sdr ? #}
{%- for n in ru['sdr_dev_list'] %}
{%- do dev_argv.append("dev%d=/dev/sdr%d" % (len(dev_argv), n)) %}
{%- endfor %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment