Skip to content

Commit 7ec7ea8

Browse files
committed
fix: update SetStallEPIn calls
1 parent 1fc0770 commit 7ec7ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/machine/machine_rp2040_usb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func handleUSBIRQ(intr interrupt.Interrupt) {
6767

6868
if !ok {
6969
// Stall endpoint?
70-
machine.USBDev.SetStallEPIn(0)
70+
USBDev.SetStallEPIn(0)
7171
}
7272

7373
}

src/machine/machine_rp2350_usb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func handleUSBIRQ(intr interrupt.Interrupt) {
7070

7171
if !ok {
7272
// Stall endpoint?
73-
machine.USBDev.SetStallEPIn(0)
73+
USBDev.SetStallEPIn(0)
7474
}
7575

7676
}

0 commit comments

Comments
 (0)