From 54c536cbe29a53938b66f4cf3d7a5c0cf0e81f95 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 30 Oct 2025 13:40:33 -0500 Subject: [PATCH] missed some --- esphome/components/ld2420/ld2420.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/ld2420/ld2420.cpp b/esphome/components/ld2420/ld2420.cpp index 44106ffdd2..b48c336d4e 100644 --- a/esphome/components/ld2420/ld2420.cpp +++ b/esphome/components/ld2420/ld2420.cpp @@ -131,8 +131,8 @@ static const uint8_t CMD_FRAME_STATUS = 7; static const uint8_t CMD_ERROR_WORD = 8; static const uint8_t ENERGY_SENSOR_START = 9; static const uint8_t CALIBRATE_REPORT_INTERVAL = 4; -static const std::string OP_NORMAL_MODE_STRING = "Normal"; -static const std::string OP_SIMPLE_MODE_STRING = "Simple"; +static const char *const OP_NORMAL_MODE_STRING = "Normal"; +static const char *const OP_SIMPLE_MODE_STRING = "Simple"; // Memory-efficient lookup tables struct StringToUint8 {