aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/mac_lld.h
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-04-16 22:17:06 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2015-04-16 22:17:06 +0200
commit86db94625fea1394304cf2f55af7ba648e07e0ac (patch)
tree0a8e1d85577db384a972171563dfccfd65ef47fc /os/hal/ports/TIVA/LLD/mac_lld.h
parente62aae545ae8c1047b863911f5a880dd075dbfe8 (diff)
parente5f1b8b034f66fa3aa4dd45f6c69da191e326c03 (diff)
downloadChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.tar.gz
ChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.tar.bz2
ChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.zip
Merge branch 'tiva_hal_fixes' into tiva_startup_files
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. */
/*===========================================================================*/