From 79fb24ad411207004e706302ece945c5d6bb742f Mon Sep 17 00:00:00 2001 From: ligenxxxx <59721724+ligenxxxx@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:36:33 +0800 Subject: [PATCH] fix race3 calib --- src/tramp_protocol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tramp_protocol.c b/src/tramp_protocol.c index 9f9068e..d7de707 100644 --- a/src/tramp_protocol.c +++ b/src/tramp_protocol.c @@ -247,6 +247,7 @@ void tramp_receive(void) { } void tramp_init(void) { +#ifndef _RF_CALIB uint16_t time_ms = 3000; RF_POWER = POWER_MAX + 2; while (time_ms--) { @@ -255,5 +256,6 @@ void tramp_init(void) { } if (!tramp_lock) RF_POWER = I2C_Read8(ADDR_EEPROM, EEP_ADDR_RF_POWER); +#endif } #endif \ No newline at end of file