Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 337 → Rev 338

/branches/MergedVersionsByOsiair/alpha/v064JokoGPSNick666AccMM3filtered/timer0.c
69,16 → 69,12
 
if (!cntKompass--) // Aufruf mit 25 Hz
{
 
if (MM3_heading() > 0) { KompassValue = 360-MM3_heading();}
if (MM3_heading() < 0 ) { KompassValue = MM3_heading()*-1;}
KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360)-180;
cntKompass = 320; // 320
 
KompassRichtung = ((540 + KompassValue - KompassStartwert) % 360)-180;
cntKompass = 320; // 320
}
}
}