mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
AP_InertialSensor_MPU9150: Comment the suspend_timer_procs
It causes the driver to hang. This matter should be inspected.
This commit is contained in:
parent
d65aefbef5
commit
1c07985518
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user