1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/comms/linrad/files/patch-elektor.c
Stephen Hurd 68e63469ae Update to 4.02 and fix build errors with clang 5
Linrad-04.02 comes with many improvements. The first FFT can now run in
parallel in up to 6 separate threads.  More efficient FFT implementations
are available for some hardware architectures.
The converter option is corrected.
Several bug corrections.
2014-12-08 11:20:39 +00:00

12 lines
430 B
C

--- elektor.c.orig 2014-12-08 03:00:20.000000000 -0800
+++ elektor.c 2014-12-08 03:00:29.000000000 -0800
@@ -1020,7 +1020,7 @@
//fprintf( stderr,"update-freq() cntrfreq=%f, hwfreq=%f\n",fg.passband_center,hwfreq);
// This routine is called from the screen thread.
- if ( abs(old_hwfreq-hwfreq) > 0.001 )
+ if ( fabs(old_hwfreq-hwfreq) > 0.001 )
{ Setup_Preselector();
old_hwfreq = hwfreq;
show_elektor_parms();