[uart] Add error message when initializing UART with unsupported configuration (#13229)

This commit is contained in:
Simon Redman authored and GitHub committed 2026-03-07 11:41:37 -05:00
1 parent 0e106d843c
commit 8b62c35ea7
1 file changed
+1 -1
@@ -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
}