-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Bug in i2cdevlib/RP2040/I2Cdev/I2Cdev.cpp I2Cdev::readWords() does not work #718
Comments
I have fix, but can't push. |
You're the second person in a week or so who has noted that they can't push a change. Normally, this works fine for this repo, and I haven't changed anything about the repo permissions recently. Can you clarify what steps you have tried, and what errors you're receiving? (Obviously the fix you've noted here is easy enough for me to make, but I'd like to figure out why you can't do a merge request.) |
This is a transcript from my attempt. I have my public key in github.
BTW, if I have changes that need review. What is the procedure? Some
changes are bug fixes, but some of them my personal preference, not
necessarily what should be in the public repo.
***@***.***:~/depot/i2cdevlibArduino/i2cdevlib $ git pull
Current branch master is up to date.
***@***.***:~/depot/i2cdevlibArduino/i2cdevlib $ git remote -v
origin ***@***.***:jrowberg/i2cdevlib.git (fetch)
origin ***@***.***:jrowberg/i2cdevlib.git (push)
***@***.***:~/depot/i2cdevlibArduino/i2cdevlib $ git push
ERROR: Permission to jrowberg/i2cdevlib.git denied to alphatech56.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
***@***.***:~/depot/i2cdevlibArduino/i2cdevlib $
Thanks. Naum
…On Thu, Nov 24, 2022 at 4:45 PM Jeff Rowberg ***@***.***> wrote:
You're the second person in a week or so who has noted that they can't
push a change. Normally, this works fine for this repo, and I haven't
changed anything about the repo permissions recently. Can you clarify what
steps you have tried, and what errors you're receiving? (Obviously the fix
you've noted here is easy enough for me to make, but I'd like to figure out
why you can't do a merge request.)
—
Reply to this email directly, view it on GitHub
<#718 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALERIXNH3L3GQA4XACG7MR3WJ7OZDANCNFSM6AAAAAASKRG3NE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ah, I see the problem. You can't push directly to someone else's repository unless you're added by the repo owner as a contributor with write permissions. This page describes the standard Github contribution workflow: https://jarv.is/notes/how-to-pull-request-fork-github/ ...which goes something like this:
It takes a bit of effort the first couple of times, but it makes sense after you step through it, and it gives you credit for your changes if your commits are merged. |
in I2Cdev::readWords() line 183 code J+2
should be j += 2
The text was updated successfully, but these errors were encountered: