Commit 88ea8b44 authored by michael-west's avatar michael-west

N310 E320: Add initialization of TX bandwidth

- Fixes "Error: map::at" errors (during calls to get_tx_bandwidth())
parent d69ed2b2
......@@ -94,6 +94,7 @@ void magnesium_radio_ctrl_impl::_init_defaults()
radio_ctrl_impl::set_tx_frequency(MAGNESIUM_DEFAULT_FREQ, chan);
radio_ctrl_impl::set_tx_gain(0, chan);
radio_ctrl_impl::set_tx_antenna(MAGNESIUM_DEFAULT_TX_ANTENNA, chan);
radio_ctrl_impl::set_tx_bandwidth(MAGNESIUM_DEFAULT_BANDWIDTH, chan);
}
......@@ -861,4 +862,3 @@ void magnesium_radio_ctrl_impl::_init_mpm_sensors(
;
}
}
......@@ -74,6 +74,7 @@ void neon_radio_ctrl_impl::_init_defaults()
radio_ctrl_impl::set_tx_frequency(NEON_DEFAULT_FREQ, chan);
radio_ctrl_impl::set_tx_gain(NEON_DEFAULT_GAIN, chan);
radio_ctrl_impl::set_tx_antenna(NEON_DEFAULT_TX_ANTENNA, chan);
radio_ctrl_impl::set_tx_bandwidth(NEON_DEFAULT_BANDWIDTH, chan);
}
/** Update default SPP (overwrites the default value from the XML file) **/
......@@ -495,4 +496,3 @@ void neon_radio_ctrl_impl::_init_mpm_sensors(
;
}
}
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