Add support for multiple I2C buses

This commit is contained in:
Jeremy Soller
2020-01-15 16:25:30 -07:00
parent efa9fb7fb4
commit 93545fb83c
16 changed files with 152 additions and 123 deletions

View File

@@ -17,5 +17,5 @@ void smbus_init(void) {
SMB45P3USH = 0x01;
// Set up for i2c usage
i2c_reset(true);
i2c_reset(&I2C_0, true);
}