mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
More code optimization
This commit is contained in:
1 parent
5a49d99c4f
commit
29d1fb00b1
32 files changed
+114
-206
No files matched your search
@@ -225,8 +225,7 @@ uint16_t V2X2_callback()
|
||||
#ifdef MULTI_SYNC
|
||||
telemetry_set_input_sync(V2X2_PACKET_PERIOD);
|
||||
#endif
|
||||
V2X2_send_packet();
|
||||
if(IS_BIND_IN_PROGRESS)
|
||||
if(bind_counter)
|
||||
{
|
||||
if (--bind_counter == 0)
|
||||
{
|
||||
@@ -241,6 +240,7 @@ uint16_t V2X2_callback()
|
||||
hopping_frequency_no = 0;
|
||||
}
|
||||
}
|
||||
V2X2_send_packet();
|
||||
// Packet every 4ms
|
||||
return V2X2_PACKET_PERIOD;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user