summaryrefslogtreecommitdiff
path: root/comms/linrad/files/patch-elektor.c
blob: 5f94bcac7d6ee4971bd2dbfef7597a6d6965f845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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();