comparison 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
comparison
equal deleted inserted replaced
129:3055bcff8050 130:a312d83bb20c
258 /* matching Pirelli's fw as read out via rftr 9 */ 258 /* matching Pirelli's fw as read out via rftr 9 */
259 #define C_Psi_sta_inv 6974L // (1/C_Psi_sta) 259 #define C_Psi_sta_inv 6974L // (1/C_Psi_sta)
260 #define C_Psi_st 8L // C_Psi_sta * 0.8 F0.16 260 #define C_Psi_st 8L // C_Psi_sta * 0.8 F0.16
261 #define C_Psi_st_32 492713L // F0.32 261 #define C_Psi_st_32 492713L // F0.32
262 #define C_Psi_st_inv 8717L // (1/C_Psi_st) 262 #define C_Psi_st_inv 8717L // (1/C_Psi_st)
263
264 #elif defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM)
265
266 /*
267 * We calibrate our VCXO per unit following OM's precedent,
268 * thus the compiled-in AFC params don't really matter on FC/OM targets,
269 * but let's put in some numbers that are representative of our VCXO,
270 * as opposed to the totally wrong numbers corresponding to the
271 * significantly different VCXO on the original Leonardo.
272 */
273
274 #define C_Psi_sta_inv 3462L // (1/C_Psi_sta)
275 #define C_Psi_st 15L // C_Psi_sta * 0.8 F0.16
276 #define C_Psi_st_32 992326L // F0.32
277 #define C_Psi_st_inv 4328L // (1/C_Psi_st)
263 278
264 #else 279 #else
265 280
266 /* original TCS211 values */ 281 /* original TCS211 values */
267 #define C_Psi_sta_inv 5419L // (1/C_Psi_sta) 282 #define C_Psi_sta_inv 5419L // (1/C_Psi_sta)