[uart] Add error message when initializing UART with unsupported configuration (#13229)
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user