From a3509013fa0d96859ef307842e1b14a252ce5787 Mon Sep 17 00:00:00 2001 From: 0xc0170 Date: Fri, 23 May 2014 13:44:54 +0100 Subject: [PATCH] [K64F] i2c - magical timeout increase in i2c_stop --- .../TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c b/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c index 9203de63c8..7d8e7f8da5 100644 --- a/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c +++ b/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c @@ -79,7 +79,7 @@ int i2c_stop(i2c_t *obj) { // when there is no waiting time after a STOP. // This wait is also included on the samples // code provided with the freedom board - for (n = 0; n < 100; n++) __NOP(); + for (n = 0; n < 200; n++) __NOP(); return 0; }