mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
[uart] Add error message when initializing UART with unsupported configuration (#13229)
This commit is contained in:
@@ -110,7 +110,7 @@ void LibreTinyUARTComponent::setup() {
|
||||
#if LT_HW_UART2
|
||||
ESP_LOGE(TAG, " TX=%u, RX=%u", PIN_SERIAL2_TX, PIN_SERIAL2_RX);
|
||||
#endif
|
||||
this->mark_failed();
|
||||
this->mark_failed(LOG_STR("SoftwareSerial is not implemented for this chip."));
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user