From a9b1f328289f241fc81f04bb504bc089ccd7dd03 Mon Sep 17 00:00:00 2001 From: brisk Date: Mon, 7 Oct 2024 22:25:00 +1030 Subject: [PATCH] pulse_counter_ulp: Add namespace to dummy header to pass lint --- esphome/components/pulse_counter_ulp/ulp_main.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/pulse_counter_ulp/ulp_main.h b/esphome/components/pulse_counter_ulp/ulp_main.h index 43f9db9afc..1deff1633f 100644 --- a/esphome/components/pulse_counter_ulp/ulp_main.h +++ b/esphome/components/pulse_counter_ulp/ulp_main.h @@ -8,6 +8,9 @@ #pragma once +// Required to pass linting +namespace pulse_counter_ulp {} // namespace pulse_counter_ulp + extern uint32_t ulp_changed; extern uint32_t ulp_debounce_counter; extern uint32_t ulp_debounce_max_count;