Corrected the conditional compilation of RawCAN.

pull/14688/head
Mohammed Mubeen 2021-07-09 11:34:25 +05:30
parent 27df8c74d3
commit d477efe780
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "platform/PlatformMutex.h"
namespace mbed {
#ifndef FEATURE_EXPERIMENTAL_API
class RawCAN: public CAN {
public:
/** Creates an unlocked CAN interface connected to specific pins.
@ -86,6 +87,7 @@ public:
void unlock() override {};
};
#endif //FEATURE_EXPERIMENTAL_API
}
#endif