Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: drivers/CAN.h
- Revision:
- 146:22da6e220af6
- Parent:
- 145:64910690c574
- Child:
- 152:235179ab3f27
diff -r 64910690c574 -r 22da6e220af6 drivers/CAN.h
--- a/drivers/CAN.h Wed Jun 21 17:31:38 2017 +0100
+++ b/drivers/CAN.h Thu Jul 06 15:30:22 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.


