Commit 2f56ff36 authored by schneider's avatar schneider

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
......@@ -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
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment