Skip to content

Commit

Permalink
boards/waspmote-pro: remove context swap defines
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Blue committed May 3, 2018
1 parent dee0e65 commit d3d2f02
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions boards/waspmote-pro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @{
Expand Down

0 comments on commit d3d2f02

Please sign in to comment.