Skip to content

Commit ba8a98d

Browse files
author
microbuilder
committed
Minor cleanup
1 parent 52d8654 commit ba8a98d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/Bluefruit52Lib/examples/custom_hrm/custom_hrm.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,17 @@ void cccd_callback(BLECharacteristic& chr, ble_gatts_evt_write_t* request)
179179
(void) request;
180180

181181
// Display the raw request packet
182-
Serial.println("CCCD Updated");
183-
Serial.print("\tPayload :");
182+
Serial.print("CCCD Updated: ");
184183
Serial.printBuffer(request->data, request->len);
184+
Serial.println("");
185185

186186
// Check the characteristic this CCCD update is associated with in case
187187
// this handler is used for multiple CCCD records.
188188
if (chr.uuid == hrmc.uuid) {
189189
if (chr.notifyEnabled()) {
190-
Serial.println("\tHeart Rate Measurement 'Notify' enabled");
190+
Serial.println("Heart Rate Measurement 'Notify' enabled");
191191
} else {
192-
Serial.println("\tHeart Rate Measurement 'Notify' disabled");
192+
Serial.println("Heart Rate Measurement 'Notify' disabled");
193193
}
194194
}
195195
}

0 commit comments

Comments
 (0)