Fixes for recent i2c migrations (#14352)

This commit is contained in:
Joel Challis
2021-09-08 23:44:18 +01:00
committed by GitHub
parent 9c175f1801
commit 2e0659f7fd
4 changed files with 6 additions and 5 deletions

View File

@@ -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