Merge branch 'master' into tinySA-V4-SI4463

Removed_REF_marker
erikkaashoek 5 years ago
commit 759c373c65

@ -2410,6 +2410,7 @@ static const VNAShellCommand commands[] =
{ "mode", cmd_mode, 0 },
{ "spur", cmd_spur, 0 },
{ "load", cmd_load, 0 },
{ "offset", cmd_offset, 0},
{ "output", cmd_output, 0 },
{ "deviceid", cmd_deviceid, 0 },
{ "selftest", cmd_selftest, 0 },

@ -163,6 +163,18 @@ VNA_SHELL_FUNCTION(cmd_sweeptime)
VNA_SHELL_FUNCTION(cmd_offset)
{
if (argc != 1) {
shell_printf("usage: offset -100.0..+100.0\r\n");
return;
}
float o = my_atof(argv[0]);
set_offset(o);
}
VNA_SHELL_FUNCTION(cmd_levelchange)
{

Loading…
Cancel
Save

Powered by TurnKey Linux.