Merge branch 'master' of https://github.com/ddavidebor/BLE_API into ddavidebor-master

This commit is contained in:
Rohit Grover 2015-07-27 12:15:47 +01:00
commit 97b0438704

View file

@ -96,7 +96,7 @@ public:
(softwareRevision != NULL) ? strlen(softwareRevision) : 0, /* maxLength */
GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ)
{
static bool serviceAdded = false; /* We should only ever need to add the heart rate service once. */
static bool serviceAdded = false; /* We should only ever need to add the information service once. */
if (serviceAdded) {
return;
}