Merge pull request #11260 from rvasquez6089/master

Typo in USBSerial.h function prevents compilation
pull/11289/head
Martin Kojtal 2019-08-22 11:08:05 +02:00 committed by GitHub
commit 28daa3f0a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();