increased to 160hz

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2043 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-05-02 04:34:15 +00:00
parent ceff21a0ec
commit 33c9f047eb

View File

@ -456,9 +456,9 @@ void setup() {
void loop()
{
// We want this to execute at 100Hz
// --------------------------------
if (millis() - fast_loopTimer > 7) {
// We want this to execute fast
// ----------------------------
if (millis() - fast_loopTimer > 6) {
delta_ms_fast_loop = millis() - fast_loopTimer;
fast_loopTimer = millis();
load = float(fast_loopTimeStamp - fast_loopTimer) / delta_ms_fast_loop;