DSM2 bind improvement?

This commit is contained in:
pascallanger
2016-08-22 18:17:14 +02:00
parent b2579538fa
commit 195f918543
8 changed files with 31 additions and 44 deletions

View File

@@ -117,7 +117,7 @@ void CC2500_SetTxRxMode(uint8_t mode)
uint8_t CC2500_Reset()
{
CC2500_Strobe(CC2500_SRES);
delay(1);
delayMilliseconds(1);
CC2500_SetTxRxMode(TXRX_OFF);
return CC2500_ReadReg(CC2500_0E_FREQ1) == 0xC4;//check if reset
}