mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
mesh: fix compile warnings
This commit is contained in:
parent
7f314f9870
commit
04a8a7d7e3
@ -976,7 +976,9 @@ static void mesh_node_store_provisioning_data(mesh_provisioning_data_t * provisi
|
||||
static void mesh_access_setup_unprovisioned_device(const uint8_t * device_uuid){
|
||||
#ifdef ENABLE_MESH_PB_ADV
|
||||
// PB-ADV
|
||||
beacon_unprovisioned_device_start(mesh_node_get_device_uuid(), 0);
|
||||
beacon_unprovisioned_device_start(device_uuid, 0);
|
||||
#else
|
||||
UNUSED(device_uuid);;
|
||||
#endif
|
||||
#ifdef ENABLE_MESH_PB_GATT
|
||||
mesh_proxy_start_advertising_unprovisioned_device();
|
||||
|
@ -219,6 +219,7 @@ static void mesh_access_acknowledged_received(uint16_t rx_src, uint32_t opcode){
|
||||
}
|
||||
|
||||
static void mesh_access_upper_transport_handler(mesh_transport_callback_type_t callback_type, mesh_transport_status_t status, mesh_pdu_t * pdu){
|
||||
UNUSED(status);
|
||||
switch (callback_type){
|
||||
case MESH_TRANSPORT_PDU_SENT:
|
||||
// unacknowledged -> free
|
||||
|
@ -149,7 +149,7 @@ static inline uint8_t mesh_generic_level_client_set_value(mesh_model_t * mesh_mo
|
||||
|
||||
// Level
|
||||
|
||||
uint8_t mesh_generic_level_client_get(mesh_model_t *mesh_model, uint16_t dest, uint16_t netkey_index, uint16_t appkey_index){
|
||||
uint8_t mesh_generic_level_client_level_get(mesh_model_t *mesh_model, uint16_t dest, uint16_t netkey_index, uint16_t appkey_index){
|
||||
// setup message
|
||||
mesh_transport_pdu_t * transport_pdu = mesh_access_setup_segmented_message(&mesh_generic_level_get);
|
||||
if (!transport_pdu) return BTSTACK_MEMORY_ALLOC_FAILED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user