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:
parent
dee0e659cb
commit
d3d2f0212d
@ -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
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user