From 4d88c6a90b0366b5b86c96371eec2985d0bf929e Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 21 Sep 2021 18:03:43 +0200 Subject: [PATCH] add comments about nesting --- src/mqtt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mqtt.h b/src/mqtt.h index dc9bfc246..b964be7c8 100644 --- a/src/mqtt.h +++ b/src/mqtt.h @@ -174,11 +174,11 @@ class Mqtt { } static uint8_t nested_format() { - return nested_format_; + return nested_format_; // nested_format is 1 if nested, otherwise 2 for single topics } static void nested_format(uint8_t nested_format) { - nested_format_ = nested_format; + nested_format_ = nested_format; // nested_format is 1 if nested, otherwise 2 for single topics } static bool ha_enabled() {