Fixes HW Serial attaching pins, PHY initialization, crash after end() (#9365)
* fix: HWCDC pin number Fixes HW Serial pin setup. The pins were set up to the wrong value and it could not be correctly configured and used. * fix: PHY initialization Fixes the PHY initialization. After detaching the pin and ending the HW Serial, a new begin() wouldn't start the CDC because it lacked the proper PHY initialization. * fix: crashing end() Fixes a crash when calling end() end() treminanates the `tx_ring_buf` but it was not tested for NULL in the ISR and in the cdc0_write_char() causing a crash if those are used. This depends on events and happens eventually. * reduces number of debug messages * fix git stash/commit added lines * fixes usb_phy_ll include and call * roll back * solves HWSerial initialization * fixes C6|H2 issue issue with `if(Serial)` not working always * github commit problem * fixes
Showing
Please register or sign in to comment