From 1a30917bb78b6221e9ee014d7fe913aec295f0a0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 9 Aug 2026 00:29:25 -0500 Subject: [PATCH] Uppercase the function-local static constant for clang-tidy --- esphome/components/radon_eye_rd200/radon_eye_rd200.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/radon_eye_rd200/radon_eye_rd200.cpp b/esphome/components/radon_eye_rd200/radon_eye_rd200.cpp index a4ea824e42..92862f7125 100644 --- a/esphome/components/radon_eye_rd200/radon_eye_rd200.cpp +++ b/esphome/components/radon_eye_rd200/radon_eye_rd200.cpp @@ -121,8 +121,8 @@ void RadonEyeRD200::on_notify_state(uint16_t handle, bool enabled, int error) { this->backend_->disconnect(); return; } - static const uint8_t enable_notify[2] = {0x01, 0x00}; - if (this->backend_->write_descriptor(this->cccd_handle_, enable_notify, sizeof(enable_notify)) != 0) { + static const uint8_t ENABLE_NOTIFY[2] = {0x01, 0x00}; + if (this->backend_->write_descriptor(this->cccd_handle_, ENABLE_NOTIFY, sizeof(ENABLE_NOTIFY)) != 0) { this->backend_->disconnect(); } }