mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-11-17 00:27:33 +00:00
Update Scorpio_cyrf6936.ino
This commit is contained in:
1 parent
0bb345e3fc
commit
692bcc1fbb
1 file changed
+2
-5
@@ -44,7 +44,7 @@ static uint16_t __attribute__((unused)) SCORPIO_send_packet()
|
||||
}
|
||||
CYRF_ConfigRFChannel(hopping_frequency[hopping_frequency_no]);
|
||||
CYRF_SetPower(0x28); //Update power
|
||||
delayMicroseconds(100); //Max frequency settle time
|
||||
delayMicroseconds(180); //Frequency settle time
|
||||
packet[0] = hopping_frequency[0];
|
||||
packet[1] = hopping_frequency[1];
|
||||
packet[2] = hopping_frequency[2];
|
||||
@@ -116,10 +116,7 @@ void SCORPIO_init()
|
||||
CYRF_ConfigCRCSeed(0x0001);
|
||||
}
|
||||
else
|
||||
{
|
||||
bind_counter = 0;
|
||||
CYRF_ConfigCRCSeed(crc);
|
||||
}
|
||||
bind_counter = 1;
|
||||
hopping_frequency_no = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user