Skip to content

Commit 8afd052

Browse files
committed
Fix unintended fall-through
The compiler found this, not me. Building with all warnings enabled is recommended.
1 parent 52c988f commit 8afd052

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/USB/USBCore.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ bool USBDeviceClass::handleStandardSetup(USBSetup &setup)
877877
sendZlp(0);
878878
return true;
879879
}
880+
return false;
880881

881882
case SET_ADDRESS:
882883
setAddress(setup.wValueL);

0 commit comments

Comments
 (0)