Skip to content

Commit

Permalink
fix race3 calib
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Nov 15, 2024
1 parent ac03ee7 commit 79fb24a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tramp_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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--) {
Expand All @@ -255,5 +256,6 @@ void tramp_init(void) {
}
if (!tramp_lock)
RF_POWER = I2C_Read8(ADDR_EEPROM, EEP_ADDR_RF_POWER);
#endif
}
#endif

0 comments on commit 79fb24a

Please sign in to comment.