Removed LO output

pull/71/head
erikkaashoek 3 years ago
parent 35f77d5763
commit 178aaa4c86

@ -786,11 +786,12 @@ VNA_SHELL_FUNCTION(cmd_x)
VFO = 1;
else
VFO = 0;
reg &= ~0xc00000; // Force led to show lock
reg |= 0x400000;
// reg &= ~0xc00000; // Force led to show lock
// reg |= 0x400000;
}
ADF4351_WriteRegister32(VFO, reg);
ADF4351_Latch();
shell_printf("x=%x\r\n", reg);
}
#endif

@ -970,11 +970,13 @@ void set_tracking_output(int t)
dirty = true;
}
#ifndef TINYSA4
void toggle_tracking_output(void)
{
setting.tracking_output = !setting.tracking_output;
dirty = true;
}
#endif
void toggle_pulse(void)
{

@ -159,6 +159,7 @@ void ADF4351_Setup(void);
void ADF4351_WriteRegister32(int channel, const uint32_t value);
void ADF4351_Latch(void);
uint64_t ADF4351_set_frequency(int channel, uint64_t freq);
uint64_t ADF4351_prepare_frequency(int channel, uint64_t freq);
//int ADF4351_set_frequency_with_offset(uint32_t freq, int offset, uint8_t drive_strength);

@ -3796,6 +3796,7 @@ static UI_FUNCTION_ADV_CALLBACK(menu_settings_ultra_acb){
}
#endif
#ifndef TINYSA4
static UI_FUNCTION_ADV_CALLBACK(menu_lo_output_acb){
(void)item;
(void)data;
@ -3805,6 +3806,7 @@ static UI_FUNCTION_ADV_CALLBACK(menu_lo_output_acb){
}
toggle_tracking_output();
}
#endif
static UI_FUNCTION_ADV_CALLBACK(menu_pause_acb)
{
@ -4763,7 +4765,9 @@ static const menuitem_t menu_lock_display[] = {
static const menuitem_t menu_config2[] =
{
{ MT_ADV_CALLBACK, 0, "PULSE\nHIGH", menu_settings_pulse_acb},
#ifndef TINYSA4
{ MT_ADV_CALLBACK | MT_LOW, 0,"LO OUTPUT", menu_lo_output_acb},
#endif
#ifdef __ULTRA__
{ MT_ADV_CALLBACK, 0, "ENABLE\nULTRA", menu_ultra_acb},
#endif

Loading…
Cancel
Save

Powered by TurnKey Linux.