mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +00:00
Merge pull request #346 from dlech/fix-sm-compile-error
sm: fix compile error when ENABLE_LE_CENTRAL is not set
This commit is contained in:
commit
e50adcaf1c
@ -3819,8 +3819,10 @@ static void sm_pdu_handler(uint8_t packet_type, hci_con_handle_t con_handle, uin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_LE_CENTRAL
|
||||||
int have_ltk;
|
int have_ltk;
|
||||||
uint8_t ltk[16];
|
uint8_t ltk[16];
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (sm_conn->sm_engine_state){
|
switch (sm_conn->sm_engine_state){
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user