diff --git a/src/le-audio/gatt-service/microphone_control_service_server.c b/src/le-audio/gatt-service/microphone_control_service_server.c index f9d249e09..f335f7290 100644 --- a/src/le-audio/gatt-service/microphone_control_service_server.c +++ b/src/le-audio/gatt-service/microphone_control_service_server.c @@ -145,7 +145,7 @@ void microphone_control_service_server_init(gatt_microphone_control_mute_t mute_ mc_mute_state = mute_state; // get service handle range uint16_t start_handle = 0; - uint16_t end_handle = 0xfff; + uint16_t end_handle = 0xffff; int service_found = gatt_server_get_handle_range_for_service_with_uuid16(ORG_BLUETOOTH_SERVICE_MICROPHONE_CONTROL, &start_handle, &end_handle); btstack_assert(service_found != 0); UNUSED(service_found); diff --git a/src/le-audio/gatt-service/volume_control_service_server.c b/src/le-audio/gatt-service/volume_control_service_server.c index aa5813f0b..80b2f4848 100644 --- a/src/le-audio/gatt-service/volume_control_service_server.c +++ b/src/le-audio/gatt-service/volume_control_service_server.c @@ -415,7 +415,7 @@ void volume_control_service_server_init(uint8_t volume_setting, vcs_mute_t mute, // get service handle range uint16_t start_handle = 0; - uint16_t end_handle = 0xfff; + uint16_t end_handle = 0xffff; int service_found = gatt_server_get_handle_range_for_service_with_uuid16(ORG_BLUETOOTH_SERVICE_VOLUME_CONTROL, &start_handle, &end_handle); btstack_assert(service_found != 0); UNUSED(service_found);