Commit 2628b741 authored by Khalid Ahmed's avatar Khalid Ahmed Committed by Thomas Schlichter

defining AMP_SHIFT

parent 21b736cf
...@@ -243,11 +243,13 @@ ...@@ -243,11 +243,13 @@
//#define CHBCH_RSSI_MIN -75 //#define CHBCH_RSSI_MIN -75
#ifdef BIT8_TX #ifdef BIT8_TX
#define AMP 128 #define AMP_SHIFT 7
#else #else
#define AMP 512//1024 //4096 #define AMP_SHIFT 9
#endif #endif
#define AMP ((1)<<AMP_SHIFT)
#define AMP_OVER_SQRT2 ((AMP*ONE_OVER_SQRT2_Q15)>>15) #define AMP_OVER_SQRT2 ((AMP*ONE_OVER_SQRT2_Q15)>>15)
#define AMP_OVER_2 (AMP>>1) #define AMP_OVER_2 (AMP>>1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment