Skip to content

Commit f56a134

Browse files
committed
Remove magic number.
1 parent 8d36ce1 commit f56a134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/USBDevice/USBDevice/USBHAL_STM32F4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void USBHAL::usbisr(void) {
347347

348348
if (type == 0x2) {
349349
// Out packet
350-
if (endpoint == 0) {
350+
if (endpoint == EP0OUT) {
351351
EP0out();
352352
}
353353
else {

0 commit comments

Comments
 (0)