Parameterize Signal with RawMutex

This commit is contained in:
ivmarkov
2022-09-22 09:05:40 +03:00
parent eeb1515e9f
commit ca92302d03
2 changed files with 42 additions and 29 deletions

View File

@ -77,7 +77,7 @@ async fn main(_spawner: Spawner) {
// Build the builder.
let mut usb = builder.build();
let remote_wakeup = Signal::new();
let remote_wakeup: Signal<_> = Signal::new();
// Run the USB device.
let usb_fut = async {