another unprotected Serial real
This commit is contained in:
@@ -50,6 +50,7 @@ void handleImprovPacket() {
|
|||||||
uint8_t rpcCommandType = 0;
|
uint8_t rpcCommandType = 0;
|
||||||
char rpcData[128];
|
char rpcData[128];
|
||||||
rpcData[0] = 0;
|
rpcData[0] = 0;
|
||||||
|
if (!Serial) return; // WLEDMM avoid reading from unconnected USB-CDC
|
||||||
|
|
||||||
while (!timeout) {
|
while (!timeout) {
|
||||||
if (Serial.available() < 1) {
|
if (Serial.available() < 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user