/* Helper function stating whether the acceleromter is on or off.  */
int inv_get_accel_on()
/* Helper function stating whether the acceleromter is on or off.  */
int inv_get_accel_on()
{
    return (sensors.accel.status & INV_SENSOR_ON) == INV_SENSOR_ON;
}