1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/waspmote-pro: remove context swap defines

This commit is contained in:
Matthew Blue 2018-04-09 12:00:08 -04:00
parent dee0e659cb
commit d3d2f0212d

View File

@ -145,21 +145,6 @@ extern "C" {
MUX_USB_XBEE_ON
/** @} */
/**
* @brief Context swap defines
* Setup to use PB5 which is pin change interrupt 5
* This emulates a software triggered interrupt
**/
#define AVR_CONTEXT_SWAP_INIT do { \
DDRB |= (1 << PB5); \
PCICR |= (1 << PCIE0); \
PCMSK0 |= (1 << PCINT5); \
} while (0)
/** @cond INTERNAL */
#define AVR_CONTEXT_SWAP_INTERRUPT_VECT PCINT0_vect
#define AVR_CONTEXT_SWAP_TRIGGER PORTB ^= (1 << PB5)
/** @endcond */
/**
* @name xtimer configuration values
* @{