diff options
Diffstat (limited to 'os/io/src/mac.c')
-rw-r--r-- | os/io/src/mac.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/os/io/src/mac.c b/os/io/src/mac.c index 01541682e..8dfb400aa 100644 --- a/os/io/src/mac.c +++ b/os/io/src/mac.c @@ -24,8 +24,10 @@ * @{
*/
-#include <ch.h>
-#include <mac.h>
+#include "ch.h"
+#include "hal.h"
+
+#if CH_HAL_USE_MAC
/**
* @brief MAC Driver initialization. @@ -171,4 +173,6 @@ bool_t macPollLinkStatus(MACDriver *macp) { return mac_lld_poll_link_status(macp);
}
+#endif /* CH_HAL_USE_MAC */
+
/** @} */
|