mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
mesh: fix unused var warning in mesh_proxy
This commit is contained in:
parent
e2424d4022
commit
a4ea32feba
@ -317,14 +317,11 @@ static void proxy_configuration_message_handler(mesh_network_callback_type_t cal
|
|||||||
uint8_t data[4];
|
uint8_t data[4];
|
||||||
mesh_network_pdu_t * network_pdu;
|
mesh_network_pdu_t * network_pdu;
|
||||||
uint8_t * network_pdu_data;
|
uint8_t * network_pdu_data;
|
||||||
uint8_t network_pdu_len;
|
|
||||||
|
|
||||||
switch (callback_type){
|
switch (callback_type){
|
||||||
case MESH_NETWORK_PDU_RECEIVED:
|
case MESH_NETWORK_PDU_RECEIVED:
|
||||||
printf("proxy_configuration_message_handler: MESH_PROXY_PDU_RECEIVED\n");
|
printf("proxy_configuration_message_handler: MESH_PROXY_PDU_RECEIVED\n");
|
||||||
network_pdu_len = mesh_network_pdu_len(received_network_pdu);
|
|
||||||
network_pdu_data = mesh_network_pdu_data(received_network_pdu);
|
network_pdu_data = mesh_network_pdu_data(received_network_pdu);
|
||||||
// printf_hexdump(network_pdu_data, network_pdu_len);
|
|
||||||
opcode = network_pdu_data[0];
|
opcode = network_pdu_data[0];
|
||||||
switch (opcode){
|
switch (opcode){
|
||||||
case MESH_PROXY_CONFIGURATION_MESSAGE_OPCODE_SET_FILTER_TYPE:{
|
case MESH_PROXY_CONFIGURATION_MESSAGE_OPCODE_SET_FILTER_TYPE:{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user