mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-09 00:13:59 +00:00
Fix MAX_TRACE_TYPE to 13
Increase digit for show Q factor (use %.3f format)
This commit is contained in:
parent
76223f5e25
commit
3213a8022c
3 changed files with 4 additions and 4 deletions
4
plot.c
4
plot.c
|
|
@ -665,7 +665,7 @@ trace_get_value_string(int t, char *buf, int len, float array[POINTS_COUNT][2],
|
|||
v = reactance(coeff);
|
||||
break;
|
||||
case TRC_Q:
|
||||
format = "%.1f";
|
||||
format = "%.3f";
|
||||
v = qualityfactor(coeff);
|
||||
break;
|
||||
case TRC_SMITH:
|
||||
|
|
@ -729,7 +729,7 @@ trace_get_value_string_delta(int t, char *buf, int len, float array[POINTS_COUNT
|
|||
v = reactance(coeff);
|
||||
break;
|
||||
case TRC_Q:
|
||||
format = "%.1f";
|
||||
format = "%.3f";
|
||||
v = qualityfactor(coeff);
|
||||
break;
|
||||
//case TRC_ADMIT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue