More code optimization

This commit is contained in:
Pascal Langer
2021-02-12 11:21:42 +01:00
parent 5a49d99c4f
commit 29d1fb00b1
32 changed files with 114 additions and 206 deletions

View File

@@ -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();