mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 21:48:12 +00:00
Update SGF22_nrf24l01.ino
This commit is contained in:
parent
8d96066215
commit
1459d690d8
@ -50,6 +50,7 @@ static void __attribute__((unused)) SGF22_send_packet()
|
|||||||
{
|
{
|
||||||
//hop
|
//hop
|
||||||
XN297_Hopping(packet_sent & 0x03); // ??? from the dumps I can't really say how hop and seq are sync, there could be an offset (0,1,2,3)...
|
XN297_Hopping(packet_sent & 0x03); // ??? from the dumps I can't really say how hop and seq are sync, there could be an offset (0,1,2,3)...
|
||||||
|
//sequence from 02 to 7A by increments of 4, sometimes with a flag 0x80 from 82 to FA, I can't tell from the dumps when the switch happens
|
||||||
if( (packet_sent & 0x03) == 0x02)
|
if( (packet_sent & 0x03) == 0x02)
|
||||||
packet_count = packet_sent;
|
packet_count = packet_sent;
|
||||||
packet_sent++;
|
packet_sent++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user