mirror of https://github.com/ARMmbed/mbed-os.git
corrected the Callback function call in attach, minor type in the USBserial library
parent
0eaf1c66bf
commit
3b808a59ef
|
@ -150,7 +150,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