Skip to content

Commit 22c246c

Browse files
committed
Fix comment
1 parent fffbe32 commit 22c246c

File tree

1 file changed

+3
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32

1 file changed

+3
-1
lines changed

libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/i2c_api.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ void i2c_init(i2c_t *obj, PinName sda, PinName scl)
135135
(pin_location(scl, PinMap_I2C_SCL) << _I2C_ROUTELOC0_SCLLOC_SHIFT);
136136
#endif
137137

138-
/* Set up the pins for I2C use: WiredAnd and high drive strength to reduce slew rate */
138+
/* Set up the pins for I2C use */
139+
/* Note: Set up pins in higher drive strength to reduce slew rate */
140+
/* Though this requires user knowledge, since drive strength is controlled per port, not pin */
139141
pin_mode(scl, WiredAndPullUp);
140142
pin_mode(sda, WiredAndPullUp);
141143

0 commit comments

Comments
 (0)