Przeglądaj źródła

清理无用注释

区荣杰 4 lat temu
rodzic
commit
e86f17f249
1 zmienionych plików z 0 dodań i 7 usunięć
  1. 0 7
      port/NIMBLE/bsal_nimble.c

+ 0 - 7
port/NIMBLE/bsal_nimble.c

@@ -278,13 +278,6 @@ static BSAL_STATUS bsal_int_srv_profile_reg_service(
             //nimble_srvs->uuid = &tmp_uuid->u;
             nimble_srvs[srv_idx].uuid = &tmp_uuid->u;
         }
-//        else if (tmp_srv->uuid->u_type  == BSAL_UUID_TYPE_128BIT)
-//        {
-//            ble_uuid128_t *tmp_uuid = bsal_osif_malloc(sizeof(ble_uuid128_t));
-//            tmp_uuid->u.type = BLE_UUID_TYPE_128;
-//            memcpy(tmp_uuid->value, tmp_srv->uuid->u128.value,16);
-//            nimble_srvs->uuid = &tmp_uuid->u;
-//        }
         else if (tmp_srv->characteristics[x].uuid->u_type == BSAL_UUID_TYPE_128BIT)
         {
             ble_uuid128_t *tmp_uuid = bsal_osif_malloc(sizeof(ble_uuid128_t));