Skip to content
Snippets Groups Projects
Commit 2f56ff36 authored by schneider's avatar schneider
Browse files

fix(bhi160): Call bhy_mapping_matrix_set twice for the first time

Due to a known issue (#133) the first call to bhy_mapping_matrix_set
can fail. This is a quick fix.
parent 0b49d538
No related branches found
No related tags found
No related merge requests found
......@@ -460,6 +460,11 @@ void vBhi160Task(void *pvParameters)
}
/* Remap axes to match card10 layout */
/* Due to a known issue (#133) the first call to
* bhy_mapping_matrix_set might fail. */
bhy_mapping_matrix_set(
PHYSICAL_SENSOR_INDEX_ACC, bhi160_mapping_matrix
);
bhy_mapping_matrix_set(
PHYSICAL_SENSOR_INDEX_ACC, bhi160_mapping_matrix
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment