diff --git a/drivers/CAN.cpp b/drivers/CAN.cpp index e3a0d42854d..d855a811dc6 100644 --- a/drivers/CAN.cpp +++ b/drivers/CAN.cpp @@ -75,9 +75,9 @@ int CAN::write(CANMessage msg) int CAN::read(CANMessage &msg, int handle) { - lock(); + // XXX: Remove mutex to fix read in CAN RxIrq + // https://github.com/ARMmbed/mbed-os/issues/9495 int ret = can_read(&_can, &msg, handle); - unlock(); return ret; }