High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Thu Nov 26 12:52:05 2015 +0000
Parent:
927:b6bde304c9be
Child:
929:918d93d409c1
Commit message:
Synchronized with git rev 693a563a
Author: Vincent Coubard
Fix invalid return value

Changed in this revision

ble/CallChainOfFunctionPointersWithContext.h Show annotated file Show diff for this revision Revisions of this file
--- a/ble/CallChainOfFunctionPointersWithContext.h	Thu Nov 26 12:52:05 2015 +0000
+++ b/ble/CallChainOfFunctionPointersWithContext.h	Thu Nov 26 12:52:05 2015 +0000
@@ -124,13 +124,12 @@
                     previous->chainAsNext(current->getNext());
                 }
                 delete current;
-                return true;
+                return;
             }
 
             previous = current;
             current = current->getNext();
         }
-        return false;
     }
 
     /** Clear the call chain (remove all functions in the chain).