From dee0e659cbbf82273ee3188b2ddac6f4cbf497c1 Mon Sep 17 00:00:00 2001 From: Matthew Blue Date: Mon, 9 Apr 2018 11:59:25 -0400 Subject: [PATCH] boards/mega-xplained: remove context swap defines --- boards/mega-xplained/include/board.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/boards/mega-xplained/include/board.h b/boards/mega-xplained/include/board.h index 70c3abd794..52baca6759 100644 --- a/boards/mega-xplained/include/board.h +++ b/boards/mega-xplained/include/board.h @@ -49,22 +49,6 @@ extern "C" { */ #define UART_STDIO_DEV (UART_DEV(1)) -/** - * @name Context swap defines - * - * Setup to use PD7 which is pin change interrupt 31 (PCINT31) - * This emulates a software triggered interrupt - * @{ - */ -#define AVR_CONTEXT_SWAP_INIT do { \ - DDRD |= (1 << PD7); \ - PCICR |= (1 << PCIE3); \ - PCMSK3 |= (1 << PCINT31); \ -} while (0) -#define AVR_CONTEXT_SWAP_INTERRUPT_VECT PCINT3_vect -#define AVR_CONTEXT_SWAP_TRIGGER PORTD ^= (1 << PD7) -/** @} */ - /** * @name xtimer configuration values *