/* Turns on generation of HAL outputs. This should be called after  */
inv_error_t inv_start_hal_outputs(void)
/* Turns on generation of HAL outputs. This should be called after  */
inv_error_t inv_start_hal_outputs(void)
{
    inv_error_t result;
    result =
        inv_register_data_cb(inv_generate_hal_outputs,
                             INV_PRIORITY_HAL_OUTPUTS,
                             INV_GYRO_NEW | INV_ACCEL_NEW | INV_MAG_NEW);
    return result;
}