Skip to content

Commit

Permalink
Need HandlerCompat now that WifiComm is not async
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jun 2, 2024
1 parent 369880a commit 8363d4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wifi/comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use log::{error, info, warn};

use rs_matter::data_model::objects::{
AttrDataEncoder, AttrDataWriter, AttrDetails, AttrType, CmdDataEncoder, CmdDetails, Dataver,
Handler,
Handler, NonBlockingHandler,
};
use rs_matter::data_model::sdm::nw_commissioning::{
AddWifiNetworkRequest, Attributes, Commands, ConnectNetworkRequest, ConnectNetworkResponse,
Expand Down Expand Up @@ -443,6 +443,8 @@ where
}
}

impl<'a, const N: usize, M> NonBlockingHandler for WifiNwCommCluster<'a, N, M> where M: RawMutex {}

// impl ChangeNotifier<()> for WifiCommCluster {
// fn consume_change(&mut self) -> Option<()> {
// self.data_ver.consume_change(())
Expand Down

0 comments on commit 8363d4c

Please sign in to comment.