Skip to content

Commit a21046d

Browse files
robertlong13peterbarker
authored andcommitted
Rover: fix SCHED_TASK rate_hz name
1 parent b23d65a commit a21046d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rover/Rover.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
3939

40-
#define SCHED_TASK(func, _interval_ticks, _max_time_micros, _priority) SCHED_TASK_CLASS(Rover, &rover, func, _interval_ticks, _max_time_micros, _priority)
40+
#define SCHED_TASK(func, rate_hz, _max_time_micros, _priority) SCHED_TASK_CLASS(Rover, &rover, func, rate_hz, _max_time_micros, _priority)
4141

4242
/*
4343
scheduler table - all regular tasks should be listed here.

0 commit comments

Comments
 (0)