HIL: allow for fast HIL attitude update in HIL_MODE_ATTITUDE

this runs it at the full loop rate
This commit is contained in:
Andrew Tridgell 2011-11-10 13:17:06 +11:00
parent 995921ac55
commit d69afc3945
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ static void read_AHRS(void)
{ {
// Perform IMU calculations and get attitude info // Perform IMU calculations and get attitude info
//----------------------------------------------- //-----------------------------------------------
#if HIL_MODE == HIL_MODE_SENSORS #if HIL_MODE != HIL_MODE_DISABLED
// update hil before dcm update // update hil before dcm update
gcs_update(); gcs_update();
#endif #endif