test/security_manager_sc: fix warnings

This commit is contained in:
Matthias Ringwald 2022-05-19 21:46:32 +02:00
parent e94757aefe
commit 88288fc76b

View File

@ -203,7 +203,6 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
UNUSED(channel);
UNUSED(size);
int status;
char message[30];
switch(state){
@ -240,7 +239,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
}
state = TC_W4_SUBSCRIBED;
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;
default:
break;