]> git.donarmstrong.com Git - qmk_firmware.git/commit
i2c_init update to work with atmega32a boards (#5562)
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Sun, 7 Apr 2019 00:30:48 +0000 (17:30 -0700)
committerDrashna Jaelre <drashna@live.com>
Sun, 7 Apr 2019 00:30:48 +0000 (17:30 -0700)
commit410984486b0a5c61174c6e4e5a3570f1b09f97dc
treec3a5773e94e84a1bf818a9e1e295035b710fb41a
parent2ffa4798a43682a73598c0b43d46abcca7cd6e83
i2c_init update to work with atmega32a boards (#5562)

* On i2c_init, enable two wire interface, twi interrupt, and slave
address ACK along with pull up resistors.

* thanks to some testing by drashna, we know that setting TWI doesn't work for all boards. Putting the new code into an ifdef block
drivers/avr/i2c_master.c