mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-05 06:25:36 +00:00
Add REAL IMAG R X trace format
This commit is contained in:
parent
973de1d7c0
commit
f9a5d2e3ef
4 changed files with 75 additions and 3 deletions
16
ui.c
16
ui.c
|
|
@ -546,6 +546,18 @@ menu_format2_cb(int item)
|
|||
case 1:
|
||||
set_trace_type(uistat.current_trace, TRC_LINEAR);
|
||||
break;
|
||||
case 2:
|
||||
set_trace_type(uistat.current_trace, TRC_REAL);
|
||||
break;
|
||||
case 3:
|
||||
set_trace_type(uistat.current_trace, TRC_IMAG);
|
||||
break;
|
||||
case 4:
|
||||
set_trace_type(uistat.current_trace, TRC_R);
|
||||
break;
|
||||
case 5:
|
||||
set_trace_type(uistat.current_trace, TRC_X);
|
||||
break;
|
||||
}
|
||||
|
||||
request_to_redraw_grid();
|
||||
|
|
@ -735,6 +747,10 @@ const menuitem_t menu_trace[] = {
|
|||
const menuitem_t menu_format2[] = {
|
||||
{ MT_CALLBACK, "POLAR", menu_format2_cb },
|
||||
{ MT_CALLBACK, "LINEAR", menu_format2_cb },
|
||||
{ MT_CALLBACK, "REAL", menu_format2_cb },
|
||||
{ MT_CALLBACK, "IMAG", menu_format2_cb },
|
||||
{ MT_CALLBACK, "RESISTANCE", menu_format2_cb },
|
||||
{ MT_CALLBACK, "REACTANCE", menu_format2_cb },
|
||||
{ MT_CANCEL, S_LARROW" BACK", NULL },
|
||||
{ MT_NONE, NULL, NULL } // sentinel
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue