From e5b81cc674f0385a48869c7e372a6e039b05a93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Poczkodi?= Date: Sun, 13 Oct 2024 23:40:40 +0200 Subject: [PATCH] formatting --- esphome/components/kt0803/kt0803defs.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/esphome/components/kt0803/kt0803defs.h b/esphome/components/kt0803/kt0803defs.h index 756983c6c1..a6d7eb589b 100644 --- a/esphome/components/kt0803/kt0803defs.h +++ b/esphome/components/kt0803/kt0803defs.h @@ -3,19 +3,19 @@ namespace esphome { namespace kt0803 { -static float CHSEL_MIN = 70.0f; -static float CHSEL_MAX = 108.0f; -static float CHSEL_STEP = 0.05; +static const float CHSEL_MIN = 70.0f; +static const float CHSEL_MAX = 108.0f; +static const float CHSEL_STEP = 0.05; -static float PGA_MIN = -15; -static float PGA_MAX = 12; -static float PGA_STEP = 1; +static const float PGA_MIN = -15; +static const float PGA_MAX = 12; +static const float PGA_STEP = 1; -static float RFGAIN_MIN = 95.5f; -static float RFGAIN_MAX = 108.0f; +static const float RFGAIN_MIN = 95.5f; +static const float RFGAIN_MAX = 108.0f; -static float ALC_GAIN_MIN = -15; -static float ALC_GAIN_MAX = 6; +static const float ALC_GAIN_MIN = -15; +static const float ALC_GAIN_MAX = 6; enum class ChipId { KT0803,