[bluetooth_proxy] Use constexpr for remaining compile-time constants

Followup to #14073 addressing review feedback.
This commit is contained in:
J. Nick Koston
2026-02-18 21:08:08 -06:00
parent 565443b710
commit a8cf54face

View File

@@ -23,9 +23,9 @@
namespace esphome::bluetooth_proxy {
static const esp_err_t ESP_GATT_NOT_CONNECTED = -1;
static const int DONE_SENDING_SERVICES = -2;
static const int INIT_SENDING_SERVICES = -3;
static constexpr esp_err_t ESP_GATT_NOT_CONNECTED = -1;
static constexpr int DONE_SENDING_SERVICES = -2;
static constexpr int INIT_SENDING_SERVICES = -3;
using namespace esp32_ble_client;