adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
623 stars 497 forks source link

Infinite loop in notify32 #569

Closed eugeneanikin closed 4 years ago

eugeneanikin commented 4 years ago

Line 727 in BLECharacteristic.cpp is a typo. It should be: 725 bool BLECharacteristic::notify32(uint16_t conn_hdl, int num) 726 { 727 return notify(conn_hdl, (uint8_t*) &num, sizeof(num)); 728 } Thank you, Eugene

hathach commented 4 years ago

ah right, thank you for spotting the issue. Fixing it right away.