From eb13758d1af48ba8d3d74b25a626dec79a073a52 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 28 Nov 2018 12:32:13 +0800 Subject: [PATCH] example: Fix unused identifier warnings --- .../ble_compatibility_test/main/ble_compatibility_test.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c b/examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c index d905a45328..fca661d2c1 100644 --- a/examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c +++ b/examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c @@ -176,11 +176,8 @@ static const uint16_t primary_service_uuid = ESP_GATT_UUID_PRI_SERVICE; static const uint16_t character_declaration_uuid = ESP_GATT_UUID_CHAR_DECLARE; static const uint16_t character_client_config_uuid = ESP_GATT_UUID_CHAR_CLIENT_CONFIG; static const uint16_t character_user_description = ESP_GATT_UUID_CHAR_DESCRIPTION; -static const uint8_t char_prop_read = ESP_GATT_CHAR_PROP_BIT_READ; -static const uint8_t char_prop_write = ESP_GATT_CHAR_PROP_BIT_WRITE; static const uint8_t char_prop_notify = ESP_GATT_CHAR_PROP_BIT_NOTIFY; -static const uint8_t char_prop_read_write = ESP_GATT_CHAR_PROP_BIT_WRITE | ESP_GATT_CHAR_PROP_BIT_READ; -static const uint8_t char_prop_read_write_notify = ESP_GATT_CHAR_PROP_BIT_WRITE | ESP_GATT_CHAR_PROP_BIT_READ | ESP_GATT_CHAR_PROP_BIT_NOTIFY; +static const uint8_t char_prop_read_write = ESP_GATT_CHAR_PROP_BIT_WRITE | ESP_GATT_CHAR_PROP_BIT_READ; static const uint8_t char1_name[] = "Char_1_Short_WR"; static const uint8_t char2_name[] = "Char_2_Long_WR"; static const uint8_t char3_name[] = "Char_3_Short_Notify"; -- 2.40.0