turn off RF amplifier at end of transmission, fixes bug #178

This commit is contained in:
Michael Ossmann
2015-07-08 16:37:28 -06:00
parent 078bd869eb
commit af13e756d9

View File

@ -266,6 +266,7 @@ void rf_path_set_direction(const rf_path_direction_t direction) {
#ifdef HACKRF_ONE
rf_path_set_antenna(0);
#endif
rf_path_set_lna(0);
/* Set RF path to receive direction when "off" */
switchctrl &= ~SWITCHCTRL_TX;
rffc5071_disable();