Put RFFC5071 code back in place.
This commit is contained in:
@ -29,6 +29,7 @@
|
|||||||
#include <hackrf_core.h>
|
#include <hackrf_core.h>
|
||||||
#include <max5864.h>
|
#include <max5864.h>
|
||||||
#include <max2837.h>
|
#include <max2837.h>
|
||||||
|
#include <rffc5071.h>
|
||||||
#include <sgpio.h>
|
#include <sgpio.h>
|
||||||
|
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
@ -276,14 +277,14 @@ int main(void) {
|
|||||||
ssp1_init();
|
ssp1_init();
|
||||||
ssp1_set_mode_max2837();
|
ssp1_set_mode_max2837();
|
||||||
max2837_setup();
|
max2837_setup();
|
||||||
/*
|
|
||||||
rffc5071_setup();
|
rffc5071_setup();
|
||||||
#ifdef JAWBREAKER
|
#ifdef JAWBREAKER
|
||||||
switchctrl = (SWITCHCTRL_AMP_BYPASS | SWITCHCTRL_HP);
|
switchctrl = (SWITCHCTRL_AMP_BYPASS | SWITCHCTRL_HP);
|
||||||
#endif
|
#endif
|
||||||
rffc5071_rx(switchctrl);
|
rffc5071_rx(switchctrl);
|
||||||
rffc5071_set_frequency(500, 0); // 500 MHz, 0 Hz (Hz ignored)
|
rffc5071_set_frequency(500, 0); // 500 MHz, 0 Hz (Hz ignored)
|
||||||
*/
|
|
||||||
max2837_set_frequency(freq);
|
max2837_set_frequency(freq);
|
||||||
max2837_start();
|
max2837_start();
|
||||||
max2837_rx();
|
max2837_rx();
|
||||||
|
Reference in New Issue
Block a user