aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/mac_lld.h
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2015-04-28 10:10:22 +0300
committerbarthess <barthess@yandex.ru>2015-04-28 10:10:22 +0300
commitcce5848449c6468b27fdc3b47537dda467ae0656 (patch)
tree52c32ae9bd7f023ad6e05c7cc5f32bfaab02c680 /os/hal/ports/TIVA/LLD/mac_lld.h
parent955b7901377d4bda1d45af12a9e5a8de54c427b6 (diff)
parent9f7ac7abf94b4b5be86cf4b70b74954000657205 (diff)
downloadChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.tar.gz
ChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.tar.bz2
ChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.zip
Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'os/hal/ports/TIVA/LLD/mac_lld.h')
-rw-r--r--os/hal/ports/TIVA/LLD/mac_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/TIVA/LLD/mac_lld.h b/os/hal/ports/TIVA/LLD/mac_lld.h
index 7c86dbd..af088b0 100644
--- a/os/hal/ports/TIVA/LLD/mac_lld.h
+++ b/os/hal/ports/TIVA/LLD/mac_lld.h
@@ -262,6 +262,10 @@
#error "TIVA_MAC_PHY_TIMEOUT requires the realtime counter service"
#endif
+#if !OSAL_IRQ_IS_VALID_PRIORITY(TIVA_MAC_IRQ_PRIORITY)
+#error "Invalid IRQ priority assigned to MAC"
+#endif
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/