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: source/I2CCommonMbedHardwareLib.cpp
- Revision:
- 1:4d6dc19a2347
- Parent:
- 0:38c206f19bb7
- Child:
- 3:309530db41ec
--- a/source/I2CCommonMbedHardwareLib.cpp Mon Apr 11 08:26:39 2016 +0000
+++ b/source/I2CCommonMbedHardwareLib.cpp Tue Apr 12 04:57:59 2016 +0000
@@ -12,10 +12,9 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include "../rohm-sensor-hal/rohm_hal.h" //types, USE_MBED_HARDWARE_I2C, DEBUG_print*, I2C_SDA, I2C_SCL
+#include "../rohm-sensor-hal/rohm_hal.h" //types, USE_MBED_HARDWARE_I2C, DEBUG_print*, I2C.h, I2C_SDA, I2C_SCL
#ifdef USE_MBED_HARDWARE_I2C
#include "../rohm-sensor-hal/I2CCommon.h" //prototypes
-#include "I2C.h" //I2C
#define I2C_WRITE 0
#define I2C_READ 1
I2C i2c(I2C_SDA, I2C_SCL);
@@ -73,4 +72,4 @@
#endif
-
+