esphome/esphome/components/uart
Brandon Davidson aca306d120 Fix logger uart conflict check (#858)
* Fix logger uart conflict check

* Fix class for check func

* Fix syntax

Hope lint is OK with moving the end of the conditional outside the #IFDEF

* Move end of conditional inside ifdef and remove extra whitespace

* Simplify

clang-format did not like the ifdefs and was reformatting in a way that killed clang-tidy.

Simple solution is to use logger's hw_serial as source of truth

Also simplifies the code - uart doesn't need to know what the logger uart settings mean
2019-11-14 13:36:55 +01:00
..
switch Add uart.write action (#567) 2019-05-29 19:32:18 +02:00
__init__.py Add PZEM004T/PZEMAC/PZEMDC Support (#587) 2019-10-20 19:24:20 +02:00
automation.h Add uart.write action (#567) 2019-05-29 19:32:18 +02:00
uart.cpp Fix logger uart conflict check (#858) 2019-11-14 13:36:55 +01:00
uart.h Fix logger uart conflict check (#858) 2019-11-14 13:36:55 +01:00