中级会员
 
- 积分
- 366
- 金钱
- 366
- 注册时间
- 2017-4-11
- 在线时间
- 33 小时
|

楼主 |
发表于 2020-3-14 16:28:36
|
显示全部楼层
/* The sensors can be mounted onto the board in any orientation. The mounting
* matrix seen below tells the MPL how to rotate the raw data from the
* driver(s).
* TODO: The following matrices refer to the configuration on internal test
* boards at Invensense. If needed, please modify the matrices to match the
* chip-to-body matrix for your particular set up.
*/
static struct platform_data_s gyro_pdata = {
.orientation = { 1, 0, 0,
0, 1, 0,
0, 0, 1}
}; |
|