gatt_client: fix build for gatt over eatt without gatt over classic

This commit is contained in:
Matthias Ringwald 2024-08-15 15:42:48 +02:00
parent 1aa186af63
commit e4f1c90393

View File

@ -192,10 +192,10 @@ typedef struct gatt_client{
#if defined(ENABLE_GATT_OVER_CLASSIC) || defined(ENABLE_GATT_OVER_EATT)
uint16_t l2cap_cid;
bd_addr_t addr;
#endif
#ifdef ENABLE_GATT_OVER_CLASSIC
bd_addr_t addr;
uint16_t l2cap_psm;
btstack_context_callback_registration_t callback_request;
#endif