ritc-sync: Fix make_channel forcing dependency into user crate

Before, `make_channel` assumed that `critical_section` would be
available in the namespace of the code that invoked the macro. Access
`critical_section` through `rtic-sync` instead.
This commit is contained in:
Nils Fitinghoff 2023-08-22 17:42:52 +02:00 committed by Henrik Tjäder
parent bca8f0815b
commit 609f14b1e4
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,8 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
### Fixed
- `make_channel` no longer requires the user crate to have `critical_section` in scope
## [v1.0.1] - 2023-06-14
### Fixed