Sfoglia il codice sorgente

ble_mesh: stack: Remove node set device name return status check

lly 5 anni fa
parent
commit
720be0f23f

+ 1 - 1
components/bt/esp_ble_mesh/mesh_core/bluedroid_host/mesh_bearer_adapt.c

@@ -1092,7 +1092,7 @@ int bt_mesh_gatts_service_start(struct bt_mesh_gatt_service *svc)
 
 int bt_mesh_gatts_set_local_device_name(const char *name)
 {
-    BLE_MESH_BTM_CHECK_STATUS(BTM_SetLocalDeviceName((char *)name));
+    BTM_SetLocalDeviceName((char *)name);
 
     return 0;
 }