Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
9f9c51ea
Commit
9f9c51ea
authored
8 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
Fix MPU6500 devtype define
parent
7472c903
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/configs/nuttx_asc-v1_default.cmake
+1
-1
1 addition, 1 deletion
cmake/configs/nuttx_asc-v1_default.cmake
src/drivers/drv_sensor.h
+4
-8
4 additions, 8 deletions
src/drivers/drv_sensor.h
with
5 additions
and
9 deletions
cmake/configs/nuttx_asc-v1_default.cmake
+
1
−
1
View file @
9f9c51ea
...
...
@@ -14,7 +14,7 @@ set(config_module_list
drivers/boards/asc-v1
drivers/rgbled_pwm
drivers/tap_esc
#
drivers/mpu6500
drivers/mpu6500
drivers/ms5611
drivers/hmc5883
drivers/gps
...
...
This diff is collapsed.
Click to expand it.
src/drivers/drv_sensor.h
+
4
−
8
View file @
9f9c51ea
...
...
@@ -71,14 +71,10 @@
#define DRV_GYR_DEVTYPE_BMI160 0x25
#define DRV_RNG_DEVTYPE_MB12XX 0x31
#define DRV_RNG_DEVTYPE_LL40LS 0x32
#if defined (CONFIG_ARCH_BOARD_MINDPX_V2) || defined (CONFIG_ARCH_BOARD_TAP_V1)
#define DRV_ACC_DEVTYPE_MPU6050 0x14
#define DRV_ACC_DEVTYPE_MPU6500 0x13
#define DRV_GYR_DEVTYPE_MPU6050 0x20
#define DRV_GYR_DEVTYPE_MPU6500 0x21
#endif
#define DRV_ACC_DEVTYPE_MPU6050 0x33
#define DRV_ACC_DEVTYPE_MPU6500 0x34
#define DRV_GYR_DEVTYPE_MPU6050 0x35
#define DRV_GYR_DEVTYPE_MPU6500 0x36
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment