From 2bf7ef167f0ca995ff34b13a73666f0ba1dc1a5b Mon Sep 17 00:00:00 2001 From: Jeppe Hasseriis Date: Fri, 19 Jul 2024 20:19:23 +0200 Subject: [PATCH] Remove unused l_field --- driver_multical21.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver_multical21.h b/driver_multical21.h index a9b1f5b..ac7433c 100644 --- a/driver_multical21.h +++ b/driver_multical21.h @@ -32,7 +32,6 @@ struct Multical21: Driver private: esphome::optional get_total_water_m3(std::vector &telegram) { esphome::optional ret_val{}; - uint8_t l_field = telegram[0]; uint8_t tpl_ci_field = telegram[19]; if (tpl_ci_field == 0x78) { @@ -54,7 +53,6 @@ struct Multical21: Driver esphome::optional get_target_water_m3(std::vector &telegram) { esphome::optional ret_val{}; - uint8_t l_field = telegram[0]; uint8_t tpl_ci_field = telegram[19]; if (tpl_ci_field == 0x78) {