changeset 591:205a3ec39d89

SE J100 APCOFF setting turns out to be different from C1xx
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 16 Mar 2019 06:24:06 +0000
parents ea22e20c3d70
children 3e08ef142939
files src/cs/layer1/cust0/l1_rf12.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/layer1/cust0/l1_rf12.h	Sat Mar 16 06:07:12 2019 +0000
+++ b/src/cs/layer1/cust0/l1_rf12.h	Sat Mar 16 06:24:06 2019 +0000
@@ -171,8 +171,10 @@
   // REMOVE //#define  C_APCOFF          0x1016 | (0x3c << 6) | TRUE   // x2 slope 128 
 #if (RF_PA == 0 || RF_PA == 3) || defined(CONFIG_TARGET_PIRELLI)
   #define  C_APCOFF         ((0x040 << 6) | APCOFF    | TRUE) // x2 slope 128
-#elif defined(CONFIG_TARGET_COMPAL)
+#elif defined(CONFIG_TARGET_C1XX)
   #define  C_APCOFF         ((0x060 << 6) | APCOFF    | TRUE) // x2 slope 128
+#elif defined(CONFIG_TARGET_J100)
+  #define  C_APCOFF         ((0x074 << 6) | APCOFF    | TRUE) // x2 slope 128
 #elif (RF_PA == 1 || RF_PA == 2 || RF_PA == 4)
   #define  C_APCOFF         ((0x070 << 6) | APCOFF    | TRUE) // x2 slope 128
 #endif