mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-09 00:13:59 +00:00
feat: add lever operation of electrical delay
This commit is contained in:
parent
7f5948c4b8
commit
18c5ca9157
4 changed files with 33 additions and 5 deletions
4
plot.c
4
plot.c
|
|
@ -1599,6 +1599,10 @@ cell_draw_marker_info(int m, int n, int w, int h)
|
|||
xpos -= m * CELLWIDTH -CELLOFFSETX;
|
||||
ypos -= n * CELLHEIGHT;
|
||||
|
||||
if (uistat.lever_mode == LM_EDELAY)
|
||||
cell_drawstring(w, h, S_SARROW, xpos, ypos);
|
||||
xpos += 5;
|
||||
|
||||
float light_speed_ps = 299792458e-12; //(m/ps)
|
||||
chsnprintf(buf, sizeof buf, "Edelay %Fs %Fm", electrical_delay * 1e-12,
|
||||
electrical_delay * light_speed_ps * velocity_factor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue