cleanup unused variables
This commit is contained in:
parent
545e85864e
commit
8a62260dc2
1 changed files with 0 additions and 4 deletions
|
@ -37,14 +37,11 @@ typedef struct {
|
||||||
uint16_t conn_handle;
|
uint16_t conn_handle;
|
||||||
} barback_ble_t;
|
} barback_ble_t;
|
||||||
|
|
||||||
static barback_ble_t conn_handles[CONFIG_NIMBLE_MAX_CONNECTIONS];
|
|
||||||
|
|
||||||
static uint16_t pump_duration_svc_val_handles[4];
|
static uint16_t pump_duration_svc_val_handles[4];
|
||||||
|
|
||||||
static event_callback_handle_t callback_handlers[CONFIG_CACO_MAX_SERVICES] = { 0 };
|
static event_callback_handle_t callback_handlers[CONFIG_CACO_MAX_SERVICES] = { 0 };
|
||||||
|
|
||||||
static int ble_gap_event(struct ble_gap_event *event, void *arg);
|
static int ble_gap_event(struct ble_gap_event *event, void *arg);
|
||||||
static int ble_svc_access(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg);
|
|
||||||
static int svc_access_system(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg);
|
static int svc_access_system(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg);
|
||||||
|
|
||||||
static int barback_ble_char_access(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg);
|
static int barback_ble_char_access(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg);
|
||||||
|
@ -298,7 +295,6 @@ static void ble_advertise(void) {
|
||||||
static int ble_gap_event(struct ble_gap_event *event, void *arg) {
|
static int ble_gap_event(struct ble_gap_event *event, void *arg) {
|
||||||
switch (event->type) {
|
switch (event->type) {
|
||||||
case BLE_GAP_EVENT_DISC: {
|
case BLE_GAP_EVENT_DISC: {
|
||||||
struct ble_gap_conn_desc desc;
|
|
||||||
struct ble_hs_adv_fields fields;
|
struct ble_hs_adv_fields fields;
|
||||||
|
|
||||||
ESP_ERROR_CHECK(ble_hs_adv_parse_fields(&fields, event->disc.data, event->disc.length_data));
|
ESP_ERROR_CHECK(ble_hs_adv_parse_fields(&fields, event->disc.data, event->disc.length_data));
|
||||||
|
|
Loading…
Reference in a new issue