summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sec.h b/sec.h
index 645ffb4..0140c15 100755
--- a/sec.h
+++ b/sec.h
@@ -98,8 +98,14 @@ static echo_can_state_t *echo_can_create(int len, int adaption_mode);
static void echo_can_free(echo_can_state_t *ec);
static int16_t echo_can_update(echo_can_state_t *ec, int16_t tx, int16_t rx);
+/* Original parameters :
#define MIN_TX_POWER_FOR_ADAPTION 256
#define MIN_RX_POWER_FOR_ADAPTION 128
+*/
+
+/* Better ones found by Jim */
+#define MIN_TX_POWER_FOR_ADAPTION 128
+#define MIN_RX_POWER_FOR_ADAPTION 64
static inline echo_can_state_t *echo_can_create(int len, int adaption_mode)
{