Skip to content

Commit 28daa3f

Browse files
authored
Merge pull request #11260 from rvasquez6089/master
Typo in USBSerial.h function prevents compilation
2 parents 9d6bfcf + 7267299 commit 28daa3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/USBSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class USBSerial: public USBCDC, public mbed::Stream {
156156
USBCDC::lock();
157157

158158
if ((mptr != NULL) && (tptr != NULL)) {
159-
rx = mbed::Callback<void()>(mptr, tptr);
159+
rx = mbed::Callback<void()>(tptr, mptr);
160160
}
161161

162162
USBCDC::unlock();

0 commit comments

Comments
 (0)