Merge pull request #6738 from dhalbert/i2c-peripheral-target-confusion

switch back one I2C message
This commit is contained in:
Dan Halbert 2022-08-10 12:34:00 -04:00 committed by GitHub
commit ff04c25021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void common_hal_i2ctarget_i2c_target_construct(i2ctarget_i2c_target_obj_t *self,
self->i2c_num = peripherals_i2c_get_free_num();
if (self->i2c_num == I2C_NUM_MAX) {
mp_raise_ValueError(translate("All I2C targets are in use"));
mp_raise_ValueError(translate("All I2C peripherals are in use"));
}
const i2c_config_t i2c_conf = {