Removed_REF_marker
erikkaashoek 5 years ago
parent 424051821f
commit 57dcf7529c

@ -42,7 +42,7 @@
//#define __ULTRA__ // Add harmonics mode on low input.
//#define __ULTRA_SA__ // Adds ADF4351 control for extra high 1st IF stage
#define __SPUR__ // Does spur reduction by shifting IF
#define __USE_SERIAL_CONSOLE__ // Enable serial I/O connection (need enable HAL_USE_SERIAL as TRUE in halconf.h)
//#define __USE_SERIAL_CONSOLE__ // Enable serial I/O connection (need enable HAL_USE_SERIAL as TRUE in halconf.h)
#define __SI4463__
/*
* main.c

@ -16,9 +16,9 @@
* Boston, MA 02110-1301, USA.
*/
#ifdef __SI4432__
//#ifdef __SI4432__
#include "si4432.h" // comment out for simulation
#endif
//#endif
#include "stdlib.h"
#pragma GCC push_options
@ -1438,6 +1438,7 @@ static const unsigned int spur_IF = 433800000; // The IF freque
static const unsigned int spur_alternate_IF = 433900000; // if the frequency is found in the spur table use this IF frequency
static const int spur_table[] = // Frequencies to avoid
{
#if 1
// 580000, // 433.8 MHz table
// 880000, //?
960000,
@ -2492,7 +2493,9 @@ sweep_again: // stay in sweep loop when output mo
setting.agc = S_AUTO_OFF;
setting.lna = S_AUTO_ON;
}
#ifdef __SI4432__
set_AGC_LNA();
#endif
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.