Refactor of smbus

This commit is contained in:
Jeremy Soller
2020-01-30 13:54:26 -07:00
parent 8df823b402
commit 6ee5612a4a
21 changed files with 66 additions and 36 deletions

View File

@ -14,7 +14,7 @@ int putchar(int c) {
SBUF = byte;
#endif
#ifdef I2C_DEBUGGER
i2c_send(&I2C_0, I2C_DEBUGGER, &byte, 1);
i2c_send(&I2C_SMBUS, I2C_DEBUGGER, &byte, 1);
#endif
return (int)byte;
}