changeset 117:4c3f4231a021

autocal: vout_t definition factored out of txband.h into txvout.h
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Feb 2018 07:02:17 +0000
parents 4ce87a30383f
children 6a7f8d201859
files autocal/txband.h autocal/txbandmain.c autocal/txbasis.c autocal/txcalchan.c autocal/txcalconf.c autocal/txlevels.c autocal/txvout.c autocal/txvout.h
diffstat 8 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/autocal/txband.h	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txband.h	Tue Feb 13 07:02:17 2018 +0000
@@ -21,8 +21,6 @@
 #define	MAX_BASIS_POINTS	15
 #define	MAX_TX_LEVELS		16
 
-typedef double vout_t;
-
 struct tx_basis_point {
 	unsigned	apc;
 	vout_t		vout;
--- a/autocal/txbandmain.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txbandmain.c	Tue Feb 13 07:02:17 2018 +0000
@@ -9,6 +9,7 @@
 #include <unistd.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 #include "stdband.h"
 
--- a/autocal/txbasis.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txbasis.c	Tue Feb 13 07:02:17 2018 +0000
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 extern double tx_power_meas();
--- a/autocal/txcalchan.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txcalchan.c	Tue Feb 13 07:02:17 2018 +0000
@@ -8,6 +8,7 @@
 #include <endian.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 #include "txcalchan.h"
 
--- a/autocal/txcalconf.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txcalconf.c	Tue Feb 13 07:02:17 2018 +0000
@@ -9,6 +9,7 @@
 #include <string.h>
 #include <strings.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 char txlevels_directory[] = "/opt/freecalypso/rfcal/txlevels";
--- a/autocal/txlevels.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txlevels.c	Tue Feb 13 07:02:17 2018 +0000
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 extern double tx_power_meas();
--- a/autocal/txvout.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txvout.c	Tue Feb 13 07:02:17 2018 +0000
@@ -5,7 +5,7 @@
  */
 
 #include <math.h>
-#include "txband.h"
+#include "txvout.h"
 
 vout_t
 dbm_to_vout(dbm)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autocal/txvout.h	Tue Feb 13 07:02:17 2018 +0000
@@ -0,0 +1,3 @@
+/* vout_t definition */
+
+typedef double vout_t;