summaryrefslogtreecommitdiff
path: root/include/math_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math_util.h')
-rw-r--r--include/math_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/math_util.h b/include/math_util.h
index ffdbec424b..1dc92c4999 100644
--- a/include/math_util.h
+++ b/include/math_util.h
@@ -40,11 +40,11 @@ float cosine_of_angle_diff(const vector_3_t v1, const vector_3_t v2);
* Rotate vector v by rotation matrix R.
*
* @param v Vector to be rotated.
- * @param R Pointer to rotation matrix.
- * @param res Pointer to the resultant vector.
+ * @param R Rotation matrix.
+ * @param res Resultant vector.
*/
-void rotate(const vector_3_t v, const matrix_3x3_t (* const R),
- vector_3_t *res);
+void rotate(const vector_3_t v, const matrix_3x3_t R,
+ vector_3_t res);
#ifdef CONFIG_ACCEL_CALIBRATE