Merge remote-tracking branch 'upstream/main' into mdev
This commit is contained in:
@@ -89,7 +89,7 @@ bool canUseSerial(void) { // WLEDMM returns true if Serial can be used for deb
|
||||
void handleSerial()
|
||||
{
|
||||
if (pinManager.isPinAllocated(hardwareRX)) return;
|
||||
if (!Serial) return; // WLEDMM - serial not connected (USB CDC)
|
||||
if (!Serial) return; // arduino docs: `if (Serial)` indicates whether or not the USB CDC serial connection is open. For all non-USB CDC ports, this will always return true
|
||||
if (((pinManager.isPinAllocated(hardwareTX)) && (pinManager.getPinOwner(hardwareTX) != PinOwner::DebugOut))) return; // WLEDMM serial TX is necessary for adalight / TPM2
|
||||
|
||||
#ifdef WLED_ENABLE_ADALIGHT
|
||||
|
||||
Reference in New Issue
Block a user