Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
5b4717ea
Commit
5b4717ea
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
timers: change to 1kHz timer by default
we were using a 227Hz timer, which is far too slow
parent
6ad5df29
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/AP_PeriodicProcess/AP_TimerProcess.h
+2
-2
2 additions, 2 deletions
libraries/AP_PeriodicProcess/AP_TimerProcess.h
with
2 additions
and
2 deletions
libraries/AP_PeriodicProcess/AP_TimerProcess.h
+
2
−
2
View file @
5b4717ea
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
#include
"PeriodicProcess.h"
#include
"PeriodicProcess.h"
#include
"../Arduino_Mega_ISR_Registry/Arduino_Mega_ISR_Registry.h"
#include
"../Arduino_Mega_ISR_Registry/Arduino_Mega_ISR_Registry.h"
/
* XXX this value is a total guess, will look up. */
/
/ default to 1kHz timer interrupt
#define TIMERPROCESS_PER_DEFAULT (256
)
#define TIMERPROCESS_PER_DEFAULT (256
-62) // 1kHz
#define AP_TIMERPROCESS_MAX_PROCS 3
#define AP_TIMERPROCESS_MAX_PROCS 3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment