Commit 3ec5f4e
HardwareSerial: fix begin() lock issue on error path (espressif#8182)
* HardwareSerial: fix begin() lock issue on error path
If the user supplied a wrong UART number, the begin() method would
return without releasing the lock. Add missing unlock call.
* removing unsed Case test
---------
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>1 parent a2c8920 commit 3ec5f4e
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 368 | | |
372 | 369 | | |
373 | 370 | | |
| |||
0 commit comments