call functions after initializing variables.
@@ -249,11 +249,11 @@ kick_scheduler_t radio_isr(void) {
PORT_TIMER_WIDTH capturedTime;
- debugpins_isr_set();
-
PORT_TIMER_WIDTH irq_status = RFCONTROLLER_REG__INT;
PORT_TIMER_WIDTH irq_error = RFCONTROLLER_REG__ERROR;
+ debugpins_isr_set();
+
#ifdef SLOT_FSM_IMPLEMENTATION_MULTIPLE_TIMER_INTERRUPT
#else
capturedTime = sctimer_readCounter();
