aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/include/mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/io/include/mac.h')
-rw-r--r--os/io/include/mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/io/include/mac.h b/os/io/include/mac.h
index 9a83cc2b8..ae2d3a42e 100644
--- a/os/io/include/mac.h
+++ b/os/io/include/mac.h
@@ -27,6 +27,8 @@
#ifndef _MAC_H_
#define _MAC_H_
+#if CH_HAL_USE_MAC
+
#include "mac_lld.h"
/**
@@ -84,6 +86,8 @@ extern "C" {
}
#endif
+#endif /* CH_HAL_USE_MAC */
+
#endif /* _MAC_H_ */
/** @} */