aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c')
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c37
1 files changed, 15 insertions, 22 deletions
diff --git a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
index f43b2c501..3ed8db37f 100644
--- a/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/GPIOv1/hal_pal_lld.c
@@ -26,29 +26,29 @@
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/*===========================================================================*/
-/* Driver exported variables. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver exported variables. */
+/*==========================================================================*/
/**
* @brief Event records for the 16 GPIO EXTI channels.
*/
palevent_t _pal_events[16];
-/*===========================================================================*/
-/* Driver local variables and types. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver local variables and types. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* Driver local functions. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver local functions. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* Driver interrupt handlers. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver interrupt handlers. */
+/*==========================================================================*/
-/*===========================================================================*/
-/* Driver exported functions. */
-/*===========================================================================*/
+/*==========================================================================*/
+/* Driver exported functions. */
+/*==========================================================================*/
/**
* @brief AVR GPIO ports configuration.
@@ -180,13 +180,6 @@ void _pal_lld_enablepadevent(ioportid_t port,
(void)arg;
/* TODO: Implement the interruption here. */
- /*
- #if (port == IOPORT4)
- #elif (port == IOPORT5)
- #else
- #error The selected port dont have an EXT INTx pin.
- */
- //}
}
/**