]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed typo for saving/restoring agc_hang_threshold
authorJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sun, 19 Feb 2017 10:13:34 +0000 (10:13 +0000)
committerJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sun, 19 Feb 2017 10:13:34 +0000 (10:13 +0000)
receiver.c

index fceedf8fb16d71a9922770f12428792f0cdbb22c..5490e79c3d6577967b76c6a0253dc736060b0975 100644 (file)
@@ -337,7 +337,7 @@ fprintf(stderr,"receiver_restore_state: id=%d\n",rx->id);
   sprintf(name,"receiver.%d.agc_slope",rx->id);
   value=getProperty(name);
   if(value) rx->agc_slope=atof(value);
-  sprintf(name,"receiver.%d.hang_threshold",rx->id);
+  sprintf(name,"receiver.%d.agc_hang_threshold",rx->id);
   value=getProperty(name);
   if(value) rx->agc_hang_threshold=atof(value);
   sprintf(name,"receiver.%d.attenuation",rx->id);