diff src/cs/layer1/cust0/l1_rf12.h @ 130:a312d83bb20c

src/cs/layer1/cust0/l1_rf12.[ch]: sync with Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Nov 2018 02:40:44 +0000
parents b6a5e36de839
children ca705e7e03f8
line wrap: on
line diff
--- a/src/cs/layer1/cust0/l1_rf12.h	Fri Nov 09 03:04:02 2018 +0000
+++ b/src/cs/layer1/cust0/l1_rf12.h	Sun Nov 18 02:40:44 2018 +0000
@@ -261,6 +261,21 @@
 #define  C_Psi_st_32      492713L  // F0.32
 #define  C_Psi_st_inv     8717L    // (1/C_Psi_st)
 
+#elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM)
+
+/*
+ * We calibrate our VCXO per unit following OM's precedent,
+ * thus the compiled-in AFC params don't really matter on FC/OM targets,
+ * but let's put in some numbers that are representative of our VCXO,
+ * as opposed to the totally wrong numbers corresponding to the
+ * significantly different VCXO on the original Leonardo.
+ */
+
+#define  C_Psi_sta_inv    3462L    // (1/C_Psi_sta)
+#define  C_Psi_st         15L      // C_Psi_sta * 0.8 F0.16
+#define  C_Psi_st_32      992326L  // F0.32
+#define  C_Psi_st_inv     4328L    // (1/C_Psi_st)
+
 #else
 
 /* original TCS211 values */