/* Initializes hal outputs class. This is called automatically by the enable function. It may be called any time the feature is enabled, but is typically not needed to be called by outside callers.  */
inv_error_t inv_init_hal_outputs(void)
/* Initializes hal outputs class. This is called automatically by the enable function. It may be called any time the feature is enabled, but is typically not needed to be called by outside callers.  */
inv_error_t inv_init_hal_outputs(void)
{
    int i;
    memset(&hal_out, 0, sizeof(hal_out));
    for (i=0; i<3; i++)  {
        inv_init_biquad_filter(&hal_out.lp_filter[i], compass_low_pass_filter_coeff);
    }
    return INV_SUCCESS;
}