ARMmbed / mbed-os-example-ble

BLE demos using mbed OS and mbed cli
Apache License 2.0
134 stars 118 forks source link

BLE_HeartRate : compilation issue with BLE_ERROR_NOT_FOUND #278

Closed jeromecoutant closed 4 years ago

jeromecoutant commented 4 years ago

Hi

Got issue with BLE_HeartRate example:

https://github.com/ARMmbed/mbed-os-example-ble/blob/6a85f804ee8b2a31811efbbdfc1bad42d2b85d4a/BLE_HeartRate/source/pretty_printer.h#L23

./source/pretty_printer.h:23:12: warning: enumeration value 'BLE_ERROR_NOT_FOUND' not handled in switch [-Wswitch]

You should add a else case ?

Regards,

ciarmcom commented 4 years ago

Internal Jira reference: https://jira.arm.com/browse/IOTPAN-540