Skip to content

Commit 6a4722f

Browse files
author
Rohit Grover
committed
remove some build warnings
1 parent b9c5f04 commit 6a4722f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BLE_HeartRate/source/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "mbed.h"
17+
#include "mbed-drivers/mbed.h"
1818
#include "ble/BLE.h"
1919
#include "ble/Gap.h"
2020
#include "ble/services/HeartRateService.h"
@@ -56,6 +56,8 @@ void periodicCallback(void)
5656

5757
void onBleInitError(BLE &ble, ble_error_t error)
5858
{
59+
(void)ble;
60+
(void)error;
5961
/* Initialization error handling should go here */
6062
}
6163

0 commit comments

Comments
 (0)