mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix another 1.70 error
This commit is contained in:
parent
39cd7f8b0a
commit
118716da7b
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ pub struct NetCmd {
|
||||||
callback_conn: u32,
|
callback_conn: u32,
|
||||||
dns: dns::Dns,
|
dns: dns::Dns,
|
||||||
#[cfg(any(feature="precursor", feature="renode"))]
|
#[cfg(any(feature="precursor", feature="renode"))]
|
||||||
ping: Option<net::Ping>,
|
ping: Option<net::protocols::Ping>,
|
||||||
#[cfg(feature="tls")]
|
#[cfg(feature="tls")]
|
||||||
ws: Option<WebSocket<MaybeTlsStream<TcpStream>>>,
|
ws: Option<WebSocket<MaybeTlsStream<TcpStream>>>,
|
||||||
#[cfg(feature="shellperf")]
|
#[cfg(feature="shellperf")]
|
||||||
|
|
@ -635,7 +635,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
||||||
Ok(ipaddr) => {
|
Ok(ipaddr) => {
|
||||||
log::debug!("sending ping to {:?}", ipaddr);
|
log::debug!("sending ping to {:?}", ipaddr);
|
||||||
if self.ping.is_none() {
|
if self.ping.is_none() {
|
||||||
self.ping = Some(net::Ping::non_blocking_handle(
|
self.ping = Some(net::protocols::Ping::non_blocking_handle(
|
||||||
XousServerId::ServerName(xous_ipc::String::from_str(crate::SERVER_NAME_SHELLCHAT)),
|
XousServerId::ServerName(xous_ipc::String::from_str(crate::SERVER_NAME_SHELLCHAT)),
|
||||||
self.callback_id.unwrap() as usize,
|
self.callback_id.unwrap() as usize,
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue