Skip to content

Commit d477efe

Browse files
committed
Corrected the conditional compilation of RawCAN.
1 parent 27df8c7 commit d477efe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/include/drivers/RawCAN.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "platform/PlatformMutex.h"
3030

3131
namespace mbed {
32+
#ifndef FEATURE_EXPERIMENTAL_API
3233
class RawCAN: public CAN {
3334
public:
3435
/** Creates an unlocked CAN interface connected to specific pins.
@@ -86,6 +87,7 @@ class RawCAN: public CAN {
8687
void unlock() override {};
8788

8889
};
90+
#endif //FEATURE_EXPERIMENTAL_API
8991
}
9092

9193
#endif

0 commit comments

Comments
 (0)