diff --git a/btle/btle_gattc.cpp b/btle/btle_gattc.cpp index 5dda053..90e79c8 100644 --- a/btle/btle_gattc.cpp +++ b/btle/btle_gattc.cpp @@ -78,7 +78,7 @@ struct DiscoveryStatus_t { void terminateCharacteristicDiscovery(void) { characteristicDiscoveryInProgress = false; serviceDiscoveryInProgress = true; - currSrvInd++; + currSrvInd++; /* Progress service index to keep discovery alive. */ } void resetDiscoveredServices(void) {