Skip to content

Commit 2de6846

Browse files
author
microbuilder
committed
Minor cleanup
1 parent 0167d15 commit 2de6846

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libraries/Bluefruit52Lib/examples/custom_hrm/custom_hrm.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ BLEDis bledis; // DIS (Device Information Service) helper class instance
2929
BLEBas blebas; // BAS (Battery Service) helper class instance
3030

3131
uint32_t blinkyms;
32+
uint8_t bps = 0;
3233

33-
// Advance function prototypes
34+
// Advanced function prototypes
3435
void setupAdv(void);
3536
void setupHRM(void);
3637
void connect_callback(void);
3738
void disconnect_callback(uint8_t reason);
39+
void cccd_callback(BLECharacteristic& chr, ble_gatts_evt_write_t* request);
3840

3941
void setup()
4042
{
@@ -192,7 +194,6 @@ void cccd_callback(BLECharacteristic& chr, ble_gatts_evt_write_t* request)
192194
}
193195
}
194196

195-
uint8_t bps = 0;
196197
void loop()
197198
{
198199
// Blinky!

0 commit comments

Comments
 (0)