turn off RF amplifier at end of transmission, fixes bug #178
This commit is contained in:
@ -266,6 +266,7 @@ void rf_path_set_direction(const rf_path_direction_t direction) {
|
|||||||
#ifdef HACKRF_ONE
|
#ifdef HACKRF_ONE
|
||||||
rf_path_set_antenna(0);
|
rf_path_set_antenna(0);
|
||||||
#endif
|
#endif
|
||||||
|
rf_path_set_lna(0);
|
||||||
/* Set RF path to receive direction when "off" */
|
/* Set RF path to receive direction when "off" */
|
||||||
switchctrl &= ~SWITCHCTRL_TX;
|
switchctrl &= ~SWITCHCTRL_TX;
|
||||||
rffc5071_disable();
|
rffc5071_disable();
|
||||||
|
Reference in New Issue
Block a user