fix compile

This commit is contained in:
Matthias Ringwald 2018-03-16 11:52:41 +01:00
parent 3385451f57
commit 495db15d42
2 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,7 @@ static void att_invalidate_value(struct btstack_timer_source *ts){
*/
/* LISTING_START(att_read_delay): ATT Read Delay Handler */
#ifdef ENABLE_ATT_DELAYED_READ_RESPONSE
static void att_update_value(struct btstack_timer_source *ts){
UNUSED(ts);
value_ready = 1;
@ -145,6 +145,7 @@ static void att_update_value(struct btstack_timer_source *ts){
btstack_run_loop_set_timer(&att_timer, ATT_VALUE_DELAY_MS);
btstack_run_loop_add_timer(&att_timer);
}
#endif
/* LISTING_END */

View File

@ -22,6 +22,7 @@
#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
#define ENABLE_LE_DATA_CHANNELS
#define ENABLE_LE_DATA_LENGTH_EXTENSION
#define ENABLE_ATT_DELAYED_READ_RESPONSE
#define ENABLE_LOG_ERROR
#define ENABLE_LOG_INFO
#define ENABLE_SCO_OVER_HCI