]> granicus.if.org Git - esp-idf/commitdiff
example: Fix unused identifier warnings
authorAnton Maklakov <anton@espressif.com>
Wed, 28 Nov 2018 04:32:13 +0000 (12:32 +0800)
committerAnton Maklakov <anton@espressif.com>
Thu, 13 Dec 2018 04:29:27 +0000 (12:29 +0800)
examples/bluetooth/ble_compatibility_test/main/ble_compatibility_test.c

index d905a453280efaae516964ba40e461ac1f216d9e..fca661d2c106dc1f4263c97d747fa10037712248 100644 (file)
@@ -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";