corrected the Callback function call in attach, minor type in the USBserial library

pull/11260/head
Ryan Vasquez 2019-08-19 12:23:50 -05:00
parent 101ae73b87
commit 7267299bd9
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public:
USBCDC::lock();
if ((mptr != NULL) && (tptr != NULL)) {
rx = mbed::Callback<void()>(mptr, tptr);
rx = mbed::Callback<void()>(tptr, mptr);
}
USBCDC::unlock();