mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-03 19:20:21 +00:00
explicity use memcpy instead of relying on compiler to use intrinsic function
This commit is contained in:
parent
d2fe945c6b
commit
76115249e2
@ -323,7 +323,7 @@ void l2cap_run(void){
|
|||||||
signaling_responses_pending--;
|
signaling_responses_pending--;
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i < signaling_responses_pending; i++){
|
for (i=0; i < signaling_responses_pending; i++){
|
||||||
signaling_responses[i] = signaling_responses[i+1];
|
memcpy(&signaling_responses[i], &signaling_responses[i+1], sizeof(l2cap_signaling_response_t));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user