[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

@@ -96,8 +96,7 @@ speed_t get_baud(int baud) {
} // namespace
namespace esphome {
namespace uart {
namespace esphome::uart {
static const char *const TAG = "uart.host";
@@ -296,7 +295,5 @@ void HostUartComponent::update_error_(const std::string &error) {
ESP_LOGE(TAG, "Port error: %s", error.c_str());
}
} // namespace uart
} // namespace esphome
} // namespace esphome::uart
#endif // USE_HOST