Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.4-maintenance] Fix ICM426XX AA filter (#12444) #12465

Merged
merged 1 commit into from Mar 6, 2023

Conversation

sugaarK
Copy link
Member

@sugaarK sugaarK commented Mar 6, 2023

  • Change ICM426XX gyro initialization
  • Shut down Acc and Gyro before setting non-GYRO_ODR, ACCEL_ODR, GYRO_FS_SEL, ACCEL_FS_SEL, GYRO_MODE, ACCEL_MODE registers
  • Set correct User Bank before writing to registers
  • Change ICM426XX GYRO_ACCEL_CONFIG0 to 15 from 14

  • Remove unneeded delay commands

* Change ICM426XX gyro initialization

- Shut down Acc and Gyro before setting non-GYRO_ODR, ACCEL_ODR, GYRO_FS_SEL, ACCEL_FS_SEL, GYRO_MODE, ACCEL_MODE registers
- Set correct User Bank before writing to registers

* Change ICM426XX GYRO_ACCEL_CONFIG0 to 15 from 14

* Remove unneeded delay commands
@sugaarK sugaarK changed the title Fix ICM426XX AA filter (#12444) [4.4-maintenance] Fix ICM426XX AA filter (#12444) Mar 6, 2023
@github-actions
Copy link

github-actions bot commented Mar 6, 2023

Do you want to test this code? Here you have an automated build:
Assets
WARNING: It may be unstable. Use only for testing! See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions for unified targets!

@blckmn blckmn merged commit ebc3479 into betaflight:4.4-maintenance Mar 6, 2023
13 checks passed
@KarateBrot KarateBrot added Bugfix and removed Bugfix labels Mar 6, 2023
@KarateBrot KarateBrot added this to the 4.4.1 milestone Mar 6, 2023
@sugaarK sugaarK deleted the my_super_fix branch March 8, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants