File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
libraries/mbed/targets/hal/TARGET_Freescale
TARGET_KPSDK_MCUS/TARGET_K64F Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
* you may not use this file except in compliance with the License.
6
6
* You may obtain a copy of the License at
7
7
*
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * http://www.apache.org/licenses/LICENSE-2.00
9
9
*
10
10
* Unless required by applicable law or agreed to in writing, software
11
11
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -103,7 +103,7 @@ int i2c_stop(i2c_t *obj) {
103
103
}
104
104
105
105
static int timeout_status_poll (i2c_t * obj , uint32_t mask ) {
106
- uint32_t i , timeout = 1000 ;
106
+ uint32_t i , timeout = 100000 ;
107
107
108
108
for (i = 0 ; i < timeout ; i ++ ) {
109
109
if (obj -> i2c -> S & mask )
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ int i2c_stop(i2c_t *obj) {
103
103
}
104
104
105
105
static int timeout_status_poll (i2c_t * obj , uint32_t mask ) {
106
- uint32_t i , timeout = 1000 ;
106
+ uint32_t i , timeout = 100000 ;
107
107
108
108
for (i = 0 ; i < timeout ; i ++ ) {
109
109
if (obj -> i2c -> S & mask )
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ int i2c_stop(i2c_t *obj) {
83
83
}
84
84
85
85
static int timeout_status_poll (i2c_t * obj , uint32_t mask ) {
86
- uint32_t i , timeout = 1000 ;
86
+ uint32_t i , timeout = 100000 ;
87
87
88
88
for (i = 0 ; i < timeout ; i ++ ) {
89
89
if (HW_I2C_S_RD (obj -> instance ) & mask )
You can’t perform that action at this time.
0 commit comments