Merge branch 'DiSlord_tinySA-V4-SI4463' of https://github.com/erikkaashoek/tinySA into DiSlord_tinySA-V4-SI4463

# Conflicts:
#	ui.c
multi_trace
DiSlord 5 years ago
commit 1644dde21c

@ -2153,7 +2153,7 @@ int index_of_frequency(freq_t f) // Search which index in the frequency tab
return -1; return -1;
if (f > frequencies[sweep_points-1]) if (f > frequencies[sweep_points-1])
return -1; return -1;
int i = (f + (f_step >> 1)) / f_step; int i = ((f - frequencies[0] ) + (f_step >> 1)) / f_step;
return i; return i;
#if 0 #if 0
// int R = (sizeof frequencies)/sizeof(int) - 1; // int R = (sizeof frequencies)/sizeof(int) - 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.