Commit a96d2f26 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Removes reference to tx_module.TX_CONFIG and rx_module.RX_CONFIG

Showing with 2 additions and 2 deletions
+2 -2
......@@ -108,7 +108,7 @@ def _gain_auto(channel):
class Tx(TxAbstract):
def __init__(self, **kwargs):
for key in kwargs.keys():
for key in kwargs.copy():
if key in SPECS['tx'].keys():
kwargs = enforce_specs(kwargs, SPECS['tx'], key)
kwargs.update({'board_name': os.path.basename(__file__).rstrip('.py')})
......@@ -253,7 +253,7 @@ class Tx(TxAbstract):
class Rx(RxAbstract):
def __init__(self, **kwargs):
for key in kwargs.keys():
for key in kwargs.copy():
if key in SPECS['rx'].keys():
kwargs = enforce_specs(kwargs, SPECS['rx'], key)
kwargs.update({'board_name': os.path.basename(__file__).rstrip('.py')})
......
Supports Markdown
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