Skip to content

Commit

Permalink
Minor fix for imu aspirin event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen committed Feb 24, 2011
1 parent ed22614 commit 9d043a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/airborne/subsystems/imu/imu_aspirin.h
Expand Up @@ -153,8 +153,8 @@ static inline void imu_aspirin_event(void (* _gyro_handler)(void), void (* _acce
imu_aspirin_arch_int_enable();
}

#define ImuEvent(_gyro_handler, _accel_handler, _mag_handler) { \
#define ImuEvent(_gyro_handler, _accel_handler, _mag_handler) do { \
imu_aspirin_event(_gyro_handler, _accel_handler, _mag_handler); \
}
} while(0);

#endif /* IMU_ASPIRIN_H */

0 comments on commit 9d043a2

Please sign in to comment.