mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
sm: fix compile warning
This commit is contained in:
parent
2dd6d27267
commit
b4f656345b
@ -1455,8 +1455,10 @@ static void sm_sc_cmac_done(uint8_t * hash){
|
|||||||
|
|
||||||
sm_connection_t * sm_conn = sm_cmac_connection;
|
sm_connection_t * sm_conn = sm_cmac_connection;
|
||||||
sm_cmac_connection = NULL;
|
sm_cmac_connection = NULL;
|
||||||
|
#ifdef ENABLE_CLASSIC
|
||||||
link_key_type_t link_key_type;
|
link_key_type_t link_key_type;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (sm_conn->sm_engine_state){
|
switch (sm_conn->sm_engine_state){
|
||||||
case SM_SC_W4_CMAC_FOR_CONFIRMATION:
|
case SM_SC_W4_CMAC_FOR_CONFIRMATION:
|
||||||
memcpy(setup->sm_local_confirm, hash, 16);
|
memcpy(setup->sm_local_confirm, hash, 16);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user