@@ -270,7 +270,7 @@ RFBits::RFBits(PinName spi_mosi, PinName spi_miso,
270
270
SLP_TR(spi_slp),
271
271
IRQ(spi_irq)
272
272
#ifdef MBED_CONF_RTOS_PRESENT
273
- , irq_thread(osPriorityRealtime, 1024 )
273
+ , irq_thread(osPriorityRealtime, MBED_CONF_ATMEL_RF_IRQ_THREAD_STACK_SIZE, NULL , " atmel_irq_thread " )
274
274
#endif
275
275
{
276
276
#ifdef MBED_CONF_RTOS_PRESENT
@@ -1071,13 +1071,10 @@ static void rf_if_irq_task_process_irq(void)
1071
1071
static void rf_if_interrupt_handler (void )
1072
1072
#endif
1073
1073
{
1074
- static uint8_t last_is, last_ts;
1075
1074
uint8_t irq_status, full_trx_status;
1076
- uint8_t orig_xah_ctrl_1 = xah_ctrl_1;
1077
1075
1078
1076
/* Read and clear interrupt flag, and pick up trx_status*/
1079
1077
irq_status = rf_if_read_register_with_status (IRQ_STATUS, &full_trx_status);
1080
- uint8_t orig_flags = rf_flags;
1081
1078
1082
1079
/* Frame end interrupt (RX and TX)*/
1083
1080
if (irq_status & TRX_END) {
@@ -1098,8 +1095,6 @@ static void rf_if_interrupt_handler(void)
1098
1095
// Here some counter could be used to monitor the underrun occurancy count.
1099
1096
// Do not print anything here!
1100
1097
}
1101
- last_is = irq_status;
1102
- last_ts = full_trx_status;
1103
1098
}
1104
1099
1105
1100
/*
@@ -1635,7 +1630,6 @@ static bool rf_start_tx()
1635
1630
rf_flags_clear (RFF_RX);
1636
1631
// Check whether we saw any delay in the PLL_ON transition.
1637
1632
if (poll_count > 0 ) {
1638
- tr_warning (" PLL_ON delayed, retry count: %d" , poll_count);
1639
1633
// let's get back to the receiving state.
1640
1634
rf_receive (state);
1641
1635
return false ;
0 commit comments