Skip to content
Snippets Groups Projects
Commit 5b4717ea authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

timers: change to 1kHz timer by default

we were using a 227Hz timer, which is far too slow
parent 6ad5df29
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment