fix compile

This commit is contained in:
Matthias Ringwald 2015-04-09 15:23:23 +02:00
parent c2839582af
commit 23dcb0cb5a
2 changed files with 8 additions and 8 deletions

View File

@ -45,6 +45,13 @@
extern "C" {
#endif
typedef struct le_event {
uint8_t type;
uint16_t handle;
} le_event_t;
typedef void (*gatt_client_callback_t)(le_event_t * event);
typedef enum {
P_READY,
P_W2_SEND_SERVICE_QUERY,
@ -168,11 +175,6 @@ typedef struct gatt_subclient {
/* API_START */
typedef struct le_event {
uint8_t type;
uint16_t handle;
} le_event_t;
typedef struct gatt_complete_event{
uint8_t type;
uint16_t handle;
@ -232,8 +234,6 @@ typedef struct le_characteristic_descriptor_event{
uint8_t * value;
} le_characteristic_descriptor_event_t;
typedef void (*gatt_client_callback_t)(le_event_t * event);
// Set up GATT client.
void gatt_client_init();

View File

@ -603,7 +603,7 @@ linked_list_gatt_client_helper_t * daemon_setup_gatt_client_request(connection_t
if (track_active_connection){
// remember connection responsible for this request
gatt_helper->active_connection = connection;
helper->active_connection = connection;
}
return helper;