diff autocal/rxband.c @ 61:0bf853d1b68e

fc-rfcal-rxband: almost finished
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 28 May 2017 00:10:16 +0000
parents 81e8f7e99d89
children a98873b713c3
line wrap: on
line diff
--- a/autocal/rxband.c	Sat May 27 23:35:06 2017 +0000
+++ b/autocal/rxband.c	Sun May 28 00:10:16 2017 +0000
@@ -67,6 +67,7 @@
 };
 
 struct rxcal_band *rxcal_band;
+int Gmagic, rx_calchan_values[10];
 
 finish_cmdline(argc, argv)
 	char **argv;
@@ -122,7 +123,7 @@
 
 do_gmagic()
 {
-	int pm, Gmagic;
+	int pm;
 	char Gmagic_db[64];
 
 	printf("Calibrating GMagic\n");
@@ -130,6 +131,6 @@
 	Gmagic = pm - RXCAL_SIGGEN_LEVEL - RXCAL_AGC_DB * 2;
 	halfdb_to_string(Gmagic, Gmagic_db);
 	printf("GMagic=%d (%s dB)\n", Gmagic, Gmagic_db);
-	upload_gmagic(Gmagic);
+	upload_gmagic();
 	return(0);
 }