From: Anton Maklakov Date: Wed, 28 Nov 2018 04:32:13 +0000 (+0800) Subject: example: Fix unused identifier warnings X-Git-Tag: v3.3-beta2~183^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb13758d1af48ba8d3d74b25a626dec79a073a52;p=esp-idf example: Fix unused identifier warnings --- 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";