[bluetooth_proxy] Use constexpr for remaining compile-time constants (#14080)

This commit is contained in:
J. Nick Koston
2026-02-18 21:34:25 -06:00
committed by GitHub
parent 2f9b76f129
commit c8598fe620

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;