mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
cpu/cc2538_rf: remove RADIO_IRQ_PRIO
This commit is contained in:
parent
9fd49581e7
commit
145d24499d
@ -100,13 +100,6 @@ static const adc_conf_t adc_config[] = {
|
||||
#define ADC_NUMOF ARRAY_SIZE(adc_config)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Radio peripheral configuration
|
||||
* @{
|
||||
*/
|
||||
#define RADIO_IRQ_PRIO 1
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -108,13 +108,6 @@ static const spi_conf_t spi_config[] = {
|
||||
#define SPI_NUMOF ARRAY_SIZE(spi_config)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Radio peripheral configuration
|
||||
* @{
|
||||
*/
|
||||
#define RADIO_IRQ_PRIO 1
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -104,13 +104,6 @@ static const spi_conf_t spi_config[] = {
|
||||
#define SPI_NUMOF ARRAY_SIZE(spi_config)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Radio peripheral configuration
|
||||
* @{
|
||||
*/
|
||||
#define RADIO_IRQ_PRIO 1
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -360,13 +360,6 @@ typedef gpio_t adc_conf_t;
|
||||
#define NWDT_TIME_UPPER_LIMIT (1000U)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Radio peripheral configuration
|
||||
* @{
|
||||
*/
|
||||
#define RADIO_IRQ_PRIO 1
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -130,20 +130,20 @@ void cc2538_init(void)
|
||||
NVIC_SetPriority(RF_RXTX_ALT_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(RF_RXTX_ALT_IRQn);
|
||||
|
||||
NVIC_SetPriority(RF_ERR_ALT_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_SetPriority(RF_ERR_ALT_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(RF_ERR_ALT_IRQn);
|
||||
|
||||
NVIC_SetPriority(MAC_TIMER_ALT_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_SetPriority(MAC_TIMER_ALT_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(MAC_TIMER_ALT_IRQn);
|
||||
}
|
||||
else {
|
||||
NVIC_SetPriority(RF_RXTX_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_SetPriority(RF_RXTX_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(RF_RXTX_IRQn);
|
||||
|
||||
NVIC_SetPriority(RF_ERR_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_SetPriority(RF_ERR_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(RF_ERR_IRQn);
|
||||
|
||||
NVIC_SetPriority(MACTIMER_IRQn, RADIO_IRQ_PRIO);
|
||||
NVIC_SetPriority(MACTIMER_IRQn, CPU_DEFAULT_IRQ_PRIO);
|
||||
NVIC_EnableIRQ(MACTIMER_IRQn);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user