Skip to content

Make I2C address configurable#42

Open
pkb-pmj wants to merge 2 commits intocopterust:masterfrom
pkb-pmj:pkb-pmj/issue40
Open

Make I2C address configurable#42
pkb-pmj wants to merge 2 commits intocopterust:masterfrom
pkb-pmj:pkb-pmj/issue40

Conversation

@pkb-pmj
Copy link
Copy Markdown

@pkb-pmj pkb-pmj commented Aug 17, 2023

  • I2cDevice::release must return address in order for reinit_i2c_device to work
  • Should Mpu9250::release return the address? If so, should it be u8 or converted back to I2cAddress?
  • Not sure what's the best place to convert I2cAddress to u8
  • Obviously a breaking change in the function signatures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant