-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf52][i2c] move i2c_init to target
Since the i2c driver is optional (not required for platform) the i2c_init should be done during target initialization. The flags used to include the i2c driver should be in either target or project files so it makes sense that the i2c_init should also be called from target files.
- Loading branch information
1 parent
38dd509
commit 94675a7
Showing
2 changed files
with
4 additions
and
7 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