mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: drivers/CAN.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 174:b96e65c34a4d
diff -r e84263d55307 -r 9672193075cf drivers/CAN.h --- a/drivers/CAN.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/CAN.h Thu Jul 06 15:42:05 2017 +0100 @@ -23,6 +23,7 @@ #include "hal/can_api.h" #include "platform/Callback.h" #include "platform/PlatformMutex.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup drivers */ @@ -78,7 +79,7 @@ /** A can bus client, used for communicating with can devices * @ingroup drivers */ -class CAN { +class CAN : private NonCopyable<CAN> { public: /** Creates an CAN interface connected to specific pins.