|
|
|
@ -478,6 +478,8 @@ static inline void io_timer_set_PWM_mode(unsigned timer)
@@ -478,6 +478,8 @@ static inline void io_timer_set_PWM_mode(unsigned timer)
|
|
|
|
|
void io_timer_trigger(void) |
|
|
|
|
{ |
|
|
|
|
int oneshots = io_timer_get_mode_channels(IOTimerChanMode_OneShot); |
|
|
|
|
|
|
|
|
|
if (oneshots != 0) { |
|
|
|
|
uint32_t action_cache[MAX_IO_TIMERS] = {0}; |
|
|
|
|
int actions = 0; |
|
|
|
|
|
|
|
|
@ -503,6 +505,7 @@ void io_timer_trigger(void)
@@ -503,6 +505,7 @@ void io_timer_trigger(void)
|
|
|
|
|
|
|
|
|
|
px4_leave_critical_section(flags); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int io_timer_init_timer(unsigned timer) |
|
|
|
|
{ |
|
|
|
|