raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7561d91ba5c28f6ca6c85e043ac7bb440cefe3fd

commit 7561d91ba5c28f6ca6c85e043ac7bb440cefe3fd
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Oct 18 00:28:22 2020 +0100

    bluez5 - dont have timer repeat that we are just ablout to add again
    
    we call ping_schedule anyway. we want this as timeout may vary.. then
    dont return true to repeat the timer we have... saves having loooots
    of timers going off.
    
    @fix
---
 src/modules/bluez5/bz_obj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/bluez5/bz_obj.c b/src/modules/bluez5/bz_obj.c
index 84e13624b..d9e1c14a3 100644
--- a/src/modules/bluez5/bz_obj.c
+++ b/src/modules/bluez5/bz_obj.c
@@ -683,7 +683,7 @@ cb_ping_timer(void *data)
    o->ping_block = EINA_FALSE;
    ping_do(o);
    ping_schedule(o);
-   return EINA_TRUE;
+   return EINA_FALSE;
 }
 
 void

-- 


Reply via email to