Compare commits
3
Commits
1f435dd43f
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b97bf144dc
|
||
|
|
27a280536e
|
||
|
|
4154bb8450
|
+1
-1
@@ -71,7 +71,7 @@ async fn handler(service: &'static mut NtpClient) {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct NtpClient {
|
||||
struct NtpClient {
|
||||
net_stack: Stack<'static>,
|
||||
|
||||
rx_meta: [PacketMetadata; 16],
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ pub async fn set_wifi_creds(value: WifiCredentials) -> Result<(), ConfigError> {
|
||||
recv.await?
|
||||
}
|
||||
|
||||
static CONFIG_CHANNEL: Channel<CriticalSectionRawMutex, ConfigOperationMessage, 1> = Channel::new();
|
||||
static CONFIG_CHANNEL: Channel<CriticalSectionRawMutex, ConfigOperationMessage, 5> = Channel::new();
|
||||
|
||||
enum ConfigOperationMessage {
|
||||
SetWifiCreds(WifiCredentials, Sender<Result<(), ConfigError>>),
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ pub async fn set_dhcp_config(config: Box<embassy_net::DhcpConfig>) -> Result<(),
|
||||
recv.await
|
||||
}
|
||||
|
||||
static WIFI_CHANNEL: Channel<CriticalSectionRawMutex, WifiOperationMessage, 1> = Channel::new();
|
||||
static WIFI_CHANNEL: Channel<CriticalSectionRawMutex, WifiOperationMessage, 5> = Channel::new();
|
||||
|
||||
enum WifiOperationMessage {
|
||||
SetStationConfig(Box<esp_radio::wifi::Config>, Sender<()>),
|
||||
|
||||
Reference in New Issue
Block a user