Searched hist:a6ca6916c23f312f4e3f234e1ab3d06fef8e4074 (Results 1 – 1 of 1) sorted by relevance
/btstack/src/ble/ |
H A D | sm.c | diff a6ca6916c23f312f4e3f234e1ab3d06fef8e4074 Tue Mar 23 18:15:14 CET 2021 David Lechner <[email protected]> Fix compile error when ENABLE_LE_CENTRAL is not set
This fixes the following errors:
../../lib/btstack/src/ble/sm.c: In function 'sm_pdu_handler': ../../lib/btstack/src/ble/sm.c:3823:13: error: unused variable 'ltk' [-Werror=unused-variable] 3823 | uint8_t ltk[16]; | ^~~ ../../lib/btstack/src/ble/sm.c:3822:9: error: unused variable 'have_ltk' [-Werror=unused-variable] 3822 | int have_ltk; | ^~~~~~~~
|