5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-06 07:58:28 -04:00

AP_HAL_Linux: Scheduler: remove unused parameter

This commit is contained in:
Lucas De Marchi 2016-02-03 02:07:42 -02:00
parent 2b61eaf9f2
commit e3beef0f77
2 changed files with 3 additions and 3 deletions
libraries/AP_HAL_Linux

View File

@ -227,7 +227,7 @@ void Scheduler::resume_timer_procs()
_timer_semaphore.give();
}
void Scheduler::_run_timers(bool called_from_timer_thread)
void Scheduler::_run_timers()
{
int i;
@ -300,7 +300,7 @@ void Scheduler::_timer_task()
}
next_run_usec += 1000;
// run registered timers
_run_timers(true);
_run_timers();
#if HAL_LINUX_UARTS_ON_TIMER_THREAD
/*

View File

@ -102,7 +102,7 @@ private:
void _uart_task();
void _tonealarm_task();
void _run_timers(bool called_from_timer_thread);
void _run_timers();
void _run_io();
void _run_uarts();
bool _register_timesliced_proc(AP_HAL::MemberProc, uint8_t);