From 8c8bde9b902f16e0e40a1406a372ebbdf409f4cf Mon Sep 17 00:00:00 2001 From: brisk Date: Mon, 7 Oct 2024 22:37:43 +1030 Subject: [PATCH] pulse_counter_ulp: Linter doesn't like C++17 nested namespaces --- esphome/components/pulse_counter_ulp/ulp_main.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/components/pulse_counter_ulp/ulp_main.h b/esphome/components/pulse_counter_ulp/ulp_main.h index 06cb1d741f..a15a9ae48e 100644 --- a/esphome/components/pulse_counter_ulp/ulp_main.h +++ b/esphome/components/pulse_counter_ulp/ulp_main.h @@ -9,7 +9,9 @@ #pragma once // Required to pass linting -namespace esphome::pulse_counter_ulp {} // namespace esphome::pulse_counter_ulp +namespace esphome { +namespace pulse_counter_ulp {} // namespace pulse_counter_ulp +} // namespace esphome extern uint32_t ulp_changed; extern uint32_t ulp_debounce_counter;