mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
Fix default trace refpos set (use NGRIDY value)
This commit is contained in:
parent
1177d87498
commit
c92987c52e
20
main.c
20
main.c
|
|
@ -1505,17 +1505,17 @@ static const struct {
|
||||||
uint16_t refpos;
|
uint16_t refpos;
|
||||||
float scale_unit;
|
float scale_unit;
|
||||||
} trace_info[] = {
|
} trace_info[] = {
|
||||||
{ "LOGMAG", 9, 10 },
|
{ "LOGMAG", NGRIDY-1, 10.0 },
|
||||||
{ "PHASE", 5, 90 },
|
{ "PHASE", NGRIDY/2, 90.0 },
|
||||||
{ "DELAY", 5, 1e-9 },
|
{ "DELAY", NGRIDY/2, 1e-9 },
|
||||||
{ "SMITH", 0, 1 },
|
{ "SMITH", 0, 1.00 },
|
||||||
{ "POLAR", 0, 1 },
|
{ "POLAR", 0, 1.00 },
|
||||||
{ "LINEAR", 0, 0.125},
|
{ "LINEAR", 0, 0.125},
|
||||||
{ "SWR", 0, 1 },
|
{ "SWR", 0, 1.00 },
|
||||||
{ "REAL", 5, 0.25 },
|
{ "REAL", NGRIDY/2, 0.25 },
|
||||||
{ "IMAG", 5, 0.25 },
|
{ "IMAG", NGRIDY/2, 0.25 },
|
||||||
{ "R", 0, 100 },
|
{ "R", NGRIDY/2, 100.0 },
|
||||||
{ "X", 5, 100 }
|
{ "X", NGRIDY/2, 100.0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
const char * const trc_channel_name[] = {
|
const char * const trc_channel_name[] = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue