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

revert back to the old custom i2c code for bmc #5501

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

mechmerlin
Copy link
Contributor

@mechmerlin mechmerlin commented Mar 28, 2019

Description

@drashna deceived me and I willingly obeyed his lies regarding the usage of i2c_master over the custom i2c code needed for ps2avrgb. I suspect it was all part of his ploy to discredit and undermine my BMC ambitions.

In all seriousness, I'll have to take another look at i2c_master and see what exactly is causing it to mess up BMC boards making it not type ANYTHING. For the time being, reverting the change he requested.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@@ -57,7 +57,7 @@ void rgblight_set(void) {
}

i2c_init();
i2c_transmit(0xb0, (uint8_t*)led, 3 * RGBLED_NUM, 100);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, there's yer problem. You didn't shift the address before passing it in.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take that back, you are already using the shifted address

@drashna
Copy link
Member

drashna commented Mar 28, 2019

Curses. :(

So, it's something weird then.

If somebody wants to figure this out, it would be awesome.

But for now, reverted.

@drashna drashna merged commit 6f6ab26 into qmk:master Mar 28, 2019
@mechmerlin mechmerlin deleted the feature/e6v2_i2c branch March 29, 2019 13:27
danielo515 pushed a commit to danielo515/qmk_firmware that referenced this pull request May 15, 2019
Timbus pushed a commit to Timbus/qmk_firmware that referenced this pull request Jun 23, 2019
zer09 pushed a commit to zer09/qmk_firmware that referenced this pull request Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants