Add D13 definition

Dependents:   Program3_BLEHeartRate Program3_BLEHeartRate

Fork of X_NUCLEO_IDB0XA1 by ST

Branch:
sync_with_github
Revision:
253:9665a6f8bbdb
Parent:
245:6830f71c197c
Child:
256:146bb175ce80
Child:
264:1e754a01869e
--- a/source/platform/btle.cpp	Mon Jun 27 15:51:20 2016 +0200
+++ b/source/platform/btle.cpp	Thu Sep 15 10:49:39 2016 +0100
@@ -163,7 +163,7 @@
     BlueNRGGap::getInstance().setAddress(BLEProtocol::AddressType::RANDOM_STATIC, BLE_address_BE);
     
     ret = aci_gatt_init();
-    if(ret){
+    if(ret != BLE_STATUS_SUCCESS){
         PRINTF("GATT_Init failed.\n");
     }
     if (bnrg_expansion_board == IDB05A1) {
@@ -190,8 +190,8 @@
                                        USE_FIXED_PIN_FOR_PAIRING,
                                        123456,
                                        BONDING);
-    if (ret == BLE_STATUS_SUCCESS) {
-        PRINTF("Auth Req set successfully.\n");
+    if (ret != BLE_STATUS_SUCCESS) {
+        PRINTF("Auth Req set failed.\n");
     }
     
     aci_hal_set_tx_power_level(1,4);