mirror of https://github.com/ARMmbed/mbed-os.git
corrected the Callback function call in attach, minor type in the USBserial library
parent
101ae73b87
commit
7267299bd9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue