Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: LT_I2C.cpp
- Revision:
- 3:2ab78e7e8518
- Parent:
- 2:7e390bcce297
- Child:
- 4:d32eaca53504
diff -r 7e390bcce297 -r 2ab78e7e8518 LT_I2C.cpp
--- a/LT_I2C.cpp Fri Aug 25 07:46:48 2017 +0000
+++ b/LT_I2C.cpp Fri Aug 25 14:42:14 2017 +0000
@@ -37,8 +37,6 @@
return i2c_object;
}
-#define CHECK_OBJECT if (i2c_object == NULL) return LT_I2C_FAILURE;
-
int lt_i2c_start() {
i2c_object->start();
return LT_I2C_SUCCESS;