Skip to content

Commit ff04c25

Browse files
authored
Merge pull request #6738 from dhalbert/i2c-peripheral-target-confusion
switch back one I2C message
2 parents 73ffd1f + af64faa commit ff04c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/espressif/common-hal/i2ctarget/I2CTarget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void common_hal_i2ctarget_i2c_target_construct(i2ctarget_i2c_target_obj_t *self,
5454
self->i2c_num = peripherals_i2c_get_free_num();
5555

5656
if (self->i2c_num == I2C_NUM_MAX) {
57-
mp_raise_ValueError(translate("All I2C targets are in use"));
57+
mp_raise_ValueError(translate("All I2C peripherals are in use"));
5858
}
5959

6060
const i2c_config_t i2c_conf = {

0 commit comments

Comments
 (0)