Permalink
Browse files

AP_InertialSensor_MPU9150: Comment the suspend_timer_procs

It causes the driver to hang. This matter should be inspected.
  • Loading branch information...
vmayoral committed May 5, 2014
1 parent c2e917e commit 400f71226e0828d2ea285a469b566e25b8b5a7db
Showing with 2 additions and 2 deletions.
  1. +2 −2 libraries/AP_InertialSensor/AP_InertialSensor_MPU9150.cpp
@@ -1133,10 +1133,10 @@ bool AP_InertialSensor_MPU9150::update(void)
_previous_accel[0] = _accel[0];
- hal.scheduler->suspend_timer_procs();
+ // hal.scheduler->suspend_timer_procs();
_accel[0] = _accel_filtered;
_gyro[0] = _gyro_filtered;
- hal.scheduler->resume_timer_procs();
+ // hal.scheduler->resume_timer_procs();
// add offsets and rotation
_accel[0].rotate(_board_orientation);

0 comments on commit 400f712

Please sign in to comment.