/* Sets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.  */
void inv_set_compass_soft_iron_matrix_d(long *matrix)
/* Sets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.  */
void inv_set_compass_soft_iron_matrix_d(long *matrix)
{
        sensors.soft_iron.matrix_d[i] = matrix[i];
        sensors.soft_iron.matrix_f[i] = inv_q30_to_float(matrix[i]);
    }
}