mirror of https://github.com/ARMmbed/mbed-os.git
Corrected the conditional compilation of RawCAN.
parent
27df8c74d3
commit
d477efe780
|
@ -29,6 +29,7 @@
|
||||||
#include "platform/PlatformMutex.h"
|
#include "platform/PlatformMutex.h"
|
||||||
|
|
||||||
namespace mbed {
|
namespace mbed {
|
||||||
|
#ifndef FEATURE_EXPERIMENTAL_API
|
||||||
class RawCAN: public CAN {
|
class RawCAN: public CAN {
|
||||||
public:
|
public:
|
||||||
/** Creates an unlocked CAN interface connected to specific pins.
|
/** Creates an unlocked CAN interface connected to specific pins.
|
||||||
|
@ -86,6 +87,7 @@ public:
|
||||||
void unlock() override {};
|
void unlock() override {};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
#endif //FEATURE_EXPERIMENTAL_API
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue