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
Adding support for external Magnetometer on MATEKF722 #4909
Conversation
"Failed to connect to github.com port 443: Connection timed out" sounds like an internet connectivity issue rather than a bug. How can I kick Travis off to rebuild/test this branch? |
You may be able to restart a build if you link your Travis account to that of Github. (I'm not sure. May need a special permission like member.) |
If you can't do it, I'll kick it. |
I don't see any betaflight/betaflight repos in my Travis account, so I'm guessing I don't have enough permissions. If you could kick it it would be much appreciated. It feels ugly re committing with just a space added somewhere to the source! |
src/main/target/MATEKF722/target.h
Outdated
@@ -73,6 +73,10 @@ | |||
#define USE_BARO_MS5611 | |||
#define USE_BARO_BMP085 | |||
|
|||
//*********** Magnetometer / Compass ************* | |||
#define MAG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has to be USE_MAG
. Please test your proposed changes before you open a pull request.
Sorry, I'm not sure how that happened. I had tested my changes and verified it was all working, but somehow in preparing the patch i must have accidentally selected and deleted the USE_ part. Sorry for the mistake |
All good, mistakes happen. Now, can you please rebase and squash this into one commit, with a indicative commit message please? 'Update target.h' isn't very helpful as a commit message once it's merged into master. |
@bencrundwell: Looks like the rebase did not quite work as intended. To rebase / squash the commits in your branch / pull request into one with
|
Sorry, I messed up :( |
Nothing lost. Use the instructions above for the rebase, and select |
@mikeller Is that better? It appears to be a single commit now, but there is a Merge afterwards that I didn't intend to create |
@bencrundwell: There's still a lot of commits in there that are not yours. Try |
I don't quite understand whats wrong. My git client shows there are now only my changes between betaflight/betaflight and bencrundwell/betaflight so it should merge in neatly. But the pull request suggests there are +10,002 new lines from 207 files |
I've cloned a fresh repo and tried the git rebase -i master, but its not coming up with anything, just noop. I can try rebasing to where I originally branched away, but I don't know if that will make it worse! |
Ok, getting there. Now you've got some of your changes twice. And it still needs to be squashed. :-D |
Update target.h
Sorry for all the mess, Its finally all rebased correctly! Thanks for your help @mikeller |
You're welcome, @bencrundwell. git / GitHub have a sometimes steep learning curve, happy to help you get started. Thank you very much for your contribution! |
Adding support for external Magnetometer on MATEKF722
No description provided.