-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Significant refactoring after accepting pull request from mjmeans. It…
… was agreed that PwmProviderManager should work with classes that implement IPwmProvider rather than classes that implement IPwmControllerProvider. However this change meant that PWM classes needed to be refactored and the same pattern should also be applied for AdcProviderManager and ADC classes for consistency. For ADC and PWM classes that will only ever return a single controller, we've decided to implement the Provider and Controller interfaces in the same class. This greatly reduces file count and code complexity. It also keeps the samples and existing user code compiling since it uses the same signature. For the same reason, namespaces were returned to their original state.
- Loading branch information
Jared Bienz
committed
Mar 22, 2016
1 parent
0a03941
commit c3b06aa
Showing
13 changed files
with
494 additions
and
649 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
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
Oops, something went wrong.