Fix cyw43
This commit is contained in:
parent
07f2240a19
commit
f3008597aa
@ -1,6 +1,5 @@
|
|||||||
use embassy_futures::select::{select3, Either3};
|
use embassy_futures::select::{select3, Either3};
|
||||||
use embassy_net_driver_channel as ch;
|
use embassy_net_driver_channel as ch;
|
||||||
use embassy_sync::pubsub::PubSubBehavior;
|
|
||||||
use embassy_time::{block_for, Duration, Timer};
|
use embassy_time::{block_for, Duration, Timer};
|
||||||
use embedded_hal_1::digital::OutputPin;
|
use embedded_hal_1::digital::OutputPin;
|
||||||
|
|
||||||
@ -438,7 +437,10 @@ where
|
|||||||
// publish() is a deadlock risk in the current design as awaiting here prevents ioctls
|
// publish() is a deadlock risk in the current design as awaiting here prevents ioctls
|
||||||
// The `Runner` always yields when accessing the device, so consumers always have a chance to receive the event
|
// The `Runner` always yields when accessing the device, so consumers always have a chance to receive the event
|
||||||
// (if they are actively awaiting the queue)
|
// (if they are actively awaiting the queue)
|
||||||
self.events.queue.publish_immediate(events::Message::new(
|
self.events
|
||||||
|
.queue
|
||||||
|
.immediate_publisher()
|
||||||
|
.publish_immediate(events::Message::new(
|
||||||
Status {
|
Status {
|
||||||
event_type: evt_type,
|
event_type: evt_type,
|
||||||
status,
|
status,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user