Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c/uart: Fix macros for latest avr-device
By updating to svd2rust v1.16.1, a few previously safe function have unfortunately become unsafe. Wrap calls to them in unsafe blocks to make avr-hal compile again. Signed-off-by: Rahix <rahix@rahix.de>
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters