Scanraw always dirty

pull/4/head
erikkaashoek 5 years ago
parent c440f5b83a
commit d6b63c0f75

@ -587,6 +587,8 @@ VNA_SHELL_FUNCTION(cmd_scanraw)
old_points = points;
}
operation_requested = false;
dirty = true;
for (uint32_t i = 0; i<points; i++) {
int val = perform(false, i, start +(uint32_t)(f_step * i), false) + float_TO_PURE_RSSI(EXT_ZERO_LEVEL);
if (operation_requested) // break on operation in perform

@ -560,7 +560,7 @@ void SI4432_Sub_Init(void)
// SI4432_Write_3_Byte(SI4432_IF_FILTER_BW, 0x81, 0x3C, 0x02) ; // <----------
// SI4432_Write_Byte(SI4432_IF_FILTER_BW, 0x81) ; // <----------
SI4432_Write_Byte(SI4432_AFC_LOOP_GEARSHIFT_OVERRIDE, 0x00) ;
// SI4432_Write_Byte(SI4432_AFC_TIMING_CONTROL, 0x02) ; // <----------
SI4432_Write_Byte(SI4432_AFC_TIMING_CONTROL, 0x02) ;
SI4432_Write_Byte(SI4432_CLOCK_RECOVERY_GEARSHIFT, 0x03) ;
// SI4432_Write_Byte(SI4432_CLOCK_RECOVERY_OVERSAMPLING, 0x78) ; // <----------
// SI4432_Write_3_Byte(SI4432_CLOCK_RECOVERY_OFFSET2, 0x01, 0x11, 0x11) ; // <----------

Loading…
Cancel
Save

Powered by TurnKey Linux.