From 3b808a59ef6d86b09dd8e0bdf66024cae6ac0bf1 Mon Sep 17 00:00:00 2001 From: Ryan Vasquez Date: Mon, 19 Aug 2019 12:23:50 -0500 Subject: [PATCH] corrected the Callback function call in attach, minor type in the USBserial library --- usb/device/USBSerial/USBSerial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb/device/USBSerial/USBSerial.h b/usb/device/USBSerial/USBSerial.h index b0bf2f18d7..a698174c53 100644 --- a/usb/device/USBSerial/USBSerial.h +++ b/usb/device/USBSerial/USBSerial.h @@ -150,7 +150,7 @@ public: USBCDC::lock(); if ((mptr != NULL) && (tptr != NULL)) { - rx = mbed::Callback(mptr, tptr); + rx = mbed::Callback(tptr, mptr); } USBCDC::unlock();