Remove commented RFFC5071 code in set_transceiver_mode.
This commit is contained in:
@ -210,7 +210,6 @@ void set_transceiver_mode(const transceiver_mode_t new_transceiver_mode) {
|
|||||||
usb_endpoint_init(&usb_endpoint_bulk_in);
|
usb_endpoint_init(&usb_endpoint_bulk_in);
|
||||||
|
|
||||||
rf_path_set_direction(RF_PATH_DIRECTION_RX);
|
rf_path_set_direction(RF_PATH_DIRECTION_RX);
|
||||||
//rffc5071_set_frequency(1700, 0); // 2600 MHz IF - 1700 MHz LO = 900 MHz RF
|
|
||||||
max2837_start();
|
max2837_start();
|
||||||
max2837_rx();
|
max2837_rx();
|
||||||
} else if (transceiver_mode == TRANSCEIVER_MODE_TX) {
|
} else if (transceiver_mode == TRANSCEIVER_MODE_TX) {
|
||||||
@ -219,7 +218,6 @@ void set_transceiver_mode(const transceiver_mode_t new_transceiver_mode) {
|
|||||||
usb_endpoint_init(&usb_endpoint_bulk_out);
|
usb_endpoint_init(&usb_endpoint_bulk_out);
|
||||||
|
|
||||||
rf_path_set_direction(RF_PATH_DIRECTION_TX);
|
rf_path_set_direction(RF_PATH_DIRECTION_TX);
|
||||||
//rffc5071_set_frequency(1700, 0); // 2600 MHz IF - 1700 MHz LO = 900 MHz RF
|
|
||||||
max2837_start();
|
max2837_start();
|
||||||
max2837_tx();
|
max2837_tx();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user