mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
boards: cxd56xx: Remove unnecessary i2c uninitialize process
Remove unnecessary i2c uninitialize process to fix an issue that i2c tool does not work well.
This commit is contained in:
committed by
Petro Karashchenko
parent
0d87694024
commit
62c98d4187
@@ -65,7 +65,5 @@ int board_i2cdev_initialize(int port)
|
|||||||
cxd56_i2cbus_uninitialize(i2c);
|
cxd56_i2cbus_uninitialize(i2c);
|
||||||
}
|
}
|
||||||
|
|
||||||
cxd56_i2cbus_uninitialize(i2c);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user