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

CONFIG: Fix TODO MAG & I2C #12545

Merged
merged 1 commit into from Apr 9, 2023
Merged

CONFIG: Fix TODO MAG & I2C #12545

merged 1 commit into from Apr 9, 2023

Conversation

haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Mar 19, 2023

Fixes: MAG was always defaulting to SPI. Changed USE_SPI to USE_SPI_MAG.

Fixes:

MAG_SPI_DEVICE x => MAG_SPI_INSTANCE SPIx
MAG_I2C_ADDRESS
I2C1_PULLUP
I2C2_PULLUP
I2C3_PULLUP
I2C4_PULLUP

Cloud build would set these settings by default:

MAG_BUSTYPE I2C
MAG_BUSTYPE NONE
MAG_BUSTYPE SLAVE
MAG_HARDWARE AUTO
MAG_HARDWARE NONE

@github-actions

This comment has been minimized.

@blckmn
Copy link
Member

blckmn commented Mar 19, 2023

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> FAIL
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> PASS
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> FAIL
  • assigned to an approver -> PASS
  • approver count at least three -> FAIL

@github-actions

This comment has been minimized.

src/config/ALIENFLIGHTNGF7/config.h Outdated Show resolved Hide resolved
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@haslinghuis haslinghuis force-pushed the fix-mag branch 2 times, most recently from 5852a20 to aebe7fd Compare April 2, 2023 20:01
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Apr 4, 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!

@haslinghuis
Copy link
Member Author

Rebased and added I2C Pullup's

@blckmn blckmn merged commit af97415 into betaflight:master Apr 9, 2023
19 checks passed
@haslinghuis haslinghuis deleted the fix-mag branch April 9, 2023 22:40
davidbitton pushed a commit to davidbitton/betaflight that referenced this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

None yet

4 participants