Updated scan timings

Removed_REF_marker
erikkaashoek 5 years ago
parent 4847725e49
commit 9f433b3bd5

@ -919,7 +919,7 @@ void toggle_normalize(void)
extern float peakLevel;
void set_actual_power(float o) // Set peak level to known value
{
float new_offset = o - peakLevel + get_level_offset(); // calculate offset based on difference between measured peak level and known peak level
float new_offset = o - peakLevel + get_level_offset(); // offset based on difference between measured peak level and known peak level
if (o == 100) new_offset = 0;
if (setting.mode == M_HIGH) {
config.high_level_offset = new_offset;
@ -1416,8 +1416,8 @@ static const struct {
// RBWx10 step_delay offset_delay spur_gate (value divided by 1000)
{ 8500, 150, 50, 400, -90},
{ 3000, 150, 50, 200, -95},
{ 1000, 300, 100, 100, -105},
{ 300, 400, 120, 100, -110},
{ 1000, 500, 100, 100, -105},
{ 300, 500, 120, 100, -110},
{ 100, 600, 120, 100, -115},
{ 30, 1500, 300, 100, -120},
{ 10, 5000, 600, 100, -122},

@ -1038,8 +1038,8 @@ static si446x_state_t SI4463_get_state(void)
uint8_t state = SI4463_get_device_status();
#else
again:
SI4463_wait_for_cts();
//again:
// SI4463_wait_for_cts();
uint8_t state = getFRR(SI446X_CMD_READ_FRR_B);
#endif
#if 0 // Only for debugging
@ -1526,7 +1526,7 @@ uint16_t force_rbw(int f)
}
SI4463_clear_int_status();
SI4463_short_start_rx(); // This can cause recalibration
SI4463_wait_for_cts();
// SI4463_wait_for_cts();
set_RSSI_comp();
// prev_band = -1;
SI4463_RSSI_correction = float_TO_PURE_RSSI(RBW_choices[f].RSSI_correction_x_10 - 1200)/10; // Set RSSI correction

Loading…
Cancel
Save

Powered by TurnKey Linux.