forked from mirrors/qmk_userspace
Fixes for recent i2c migrations (#14352)
This commit is contained in:
parent
9c175f1801
commit
2e0659f7fd
4 changed files with 6 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include "i2c_master.h"
|
||||
#include <util/delay.h>
|
||||
|
||||
#define I2C_ADDR 0b0100000
|
||||
#define I2C_ADDR (0b0100000 << 1)
|
||||
#define I2C_TIMEOUT 100
|
||||
#define IODIRA 0x00 // i/o direction register
|
||||
#define IODIRB 0x01
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue