mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-02-03 03:53:17 +00:00
More code optimization
This commit is contained in:
@@ -55,11 +55,8 @@ uint16_t E010R5_callback()
|
||||
{
|
||||
//Bind
|
||||
if(bind_counter)
|
||||
{
|
||||
bind_counter--;
|
||||
if(bind_counter==0)
|
||||
if(--bind_counter==0)
|
||||
BIND_DONE;
|
||||
}
|
||||
|
||||
//Send packet
|
||||
RF2500_SendPayload();
|
||||
|
||||
Reference in New Issue
Block a user