[uart] Convert to C++17 namespace style (#12220)

This commit is contained in:
Keith Burzinski authored and GitHub committed 2025-12-01 07:57:18 -05:00
1 parent dbc16ce468
commit 664881bc13
23 files changed
+48 -101

No files matched your search

@@ -1,8 +1,7 @@
#include "uart_button.h"
#include "esphome/core/log.h"
namespace esphome {
namespace uart {
namespace esphome::uart {
static const char *const TAG = "uart.button";
@@ -13,5 +12,4 @@ void UARTButton::press_action() {
void UARTButton::dump_config() { LOG_BUTTON("", "UART Button", this); }
} // namespace uart
} // namespace esphome
} // namespace esphome::uart