mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
test/security_manager_sc: fix warnings
This commit is contained in:
parent
e94757aefe
commit
88288fc76b
@ -203,7 +203,6 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
|
|||||||
UNUSED(channel);
|
UNUSED(channel);
|
||||||
UNUSED(size);
|
UNUSED(size);
|
||||||
|
|
||||||
int status;
|
|
||||||
char message[30];
|
char message[30];
|
||||||
|
|
||||||
switch(state){
|
switch(state){
|
||||||
@ -240,7 +239,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
|
|||||||
}
|
}
|
||||||
state = TC_W4_SUBSCRIBED;
|
state = TC_W4_SUBSCRIBED;
|
||||||
printf("Configure counter for notify.\n");
|
printf("Configure counter for notify.\n");
|
||||||
status = gatt_client_write_client_characteristic_configuration(handle_gatt_client_event, connection_handle, &le_counter_characteristic, GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION);
|
gatt_client_write_client_characteristic_configuration(handle_gatt_client_event, connection_handle, &le_counter_characteristic, GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user