mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
avdtp: fix compile
This commit is contained in:
parent
3338afc0d0
commit
9389122cc3
2
3rd-party/micro-ecc/uECC.c
vendored
2
3rd-party/micro-ecc/uECC.c
vendored
@ -467,6 +467,8 @@ static int default_RNG(uint8_t *dest, unsigned size) {
|
||||
#else /* Some other platform */
|
||||
|
||||
static int default_RNG(uint8_t *dest, unsigned size) {
|
||||
(void) dest;
|
||||
(void) size;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ void avdtp_initiator_stream_config_subsm(avdtp_connection_t *connection, uint8_t
|
||||
if (connection->initiator_connection_state == AVDTP_SIGNALING_CONNECTION_INITIATOR_W4_ANSWER) {
|
||||
connection->initiator_connection_state = AVDTP_SIGNALING_CONNECTION_INITIATOR_IDLE;
|
||||
} else {
|
||||
stream_endpoint = avdtp_get_stream_endpoint_with_seid(connection->initiator_local_seid);
|
||||
stream_endpoint = avdtp_get_stream_endpoint_for_seid(connection->initiator_local_seid);
|
||||
if (stream_endpoint == NULL) {
|
||||
log_debug("no stream endpoint for local seid %u", connection->initiator_local_seid);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user