platforms: remove unnecessary i2c platform abstraction

This commit is contained in:
Daniel Agar
2020-01-11 11:55:06 -05:00
parent 54e4b65daa
commit d1e3ff553b
11 changed files with 7 additions and 180 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ I2C::init()
// Open the actual I2C device
char dev_path[16] {};
snprintf(dev_path, sizeof(dev_path), "/dev/iic-%i", get_device_bus());
snprintf(dev_path, sizeof(dev_path), DEV_FS_I2C_DEVICE_TYPE_STRING"%i", get_device_bus());
_fd = ::open(dev_path, O_RDWR);
if (_fd < 0) {