Compare commits

...
1 Commits
Author SHA1 Message Date
reed b97bf144dc refactor: increase channel sizes 2026-10-10 18:41:13 -05:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ pub async fn set_wifi_creds(value: WifiCredentials) -> Result<(), ConfigError> {
recv.await? recv.await?
} }
static CONFIG_CHANNEL: Channel<CriticalSectionRawMutex, ConfigOperationMessage, 1> = Channel::new(); static CONFIG_CHANNEL: Channel<CriticalSectionRawMutex, ConfigOperationMessage, 5> = Channel::new();
enum ConfigOperationMessage { enum ConfigOperationMessage {
SetWifiCreds(WifiCredentials, Sender<Result<(), ConfigError>>), SetWifiCreds(WifiCredentials, Sender<Result<(), ConfigError>>),
+1 -1
View File
@@ -66,7 +66,7 @@ pub async fn set_dhcp_config(config: Box<embassy_net::DhcpConfig>) -> Result<(),
recv.await recv.await
} }
static WIFI_CHANNEL: Channel<CriticalSectionRawMutex, WifiOperationMessage, 1> = Channel::new(); static WIFI_CHANNEL: Channel<CriticalSectionRawMutex, WifiOperationMessage, 5> = Channel::new();
enum WifiOperationMessage { enum WifiOperationMessage {
SetStationConfig(Box<esp_radio::wifi::Config>, Sender<()>), SetStationConfig(Box<esp_radio::wifi::Config>, Sender<()>),