AP_Radio: build fix for skyviper

This commit is contained in:
Andy Piper 2023-04-03 18:08:12 +02:00 committed by Peter Barker
parent 26b4b0e51a
commit bb74cb9be0
4 changed files with 4 additions and 4 deletions

View File

@ -414,7 +414,7 @@ void AP_Radio_cc2500::trigger_irq_radio_event()
chSysUnlockFromISR();
}
void AP_Radio_cc2500::trigger_timeout_event(void *arg)
void AP_Radio_cc2500::trigger_timeout_event(virtual_timer_t* vt, void *arg)
{
(void)arg;
//we are called from ISR context

View File

@ -87,7 +87,7 @@ private:
static void irq_handler_thd(void* arg);
static void trigger_irq_radio_event(void);
static void trigger_timeout_event(void *arg);
static void trigger_timeout_event(virtual_timer_t* vt, void *arg);
void radio_init(void);

View File

@ -1199,7 +1199,7 @@ void AP_Radio_cypress::irq_handler_thd(void *arg)
}
}
void AP_Radio_cypress::trigger_timeout_event(void *arg)
void AP_Radio_cypress::trigger_timeout_event(virtual_timer_t* vt, void *arg)
{
(void)arg;
//we are called from ISR context

View File

@ -131,7 +131,7 @@ private:
static void irq_handler_thd(void* arg);
static void trigger_irq_radio_event(void);
static void trigger_timeout_event(void *arg);
static void trigger_timeout_event(virtual_timer_t* vt, void *arg);
static const uint8_t max_channels = 16;