Fix intra_doc_link_resolution_failure and deny in lib.rs
This commit is contained in:
parent
75571b10c9
commit
caecd49b08
1 changed files with 3 additions and 3 deletions
|
|
@ -101,8 +101,8 @@ pub enum OnPingRequest {
|
||||||
Ignore,
|
Ignore,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Use [TransmissionMode::PPoE] when talking
|
/// Use [`ConnectionType::PPoE`] when talking
|
||||||
/// to an ADSL modem. Otherwise use [TransmissionMode::Ethernet]
|
/// to an ADSL modem. Otherwise use [`ConnectionType::Ethernet`]
|
||||||
#[derive(Copy, Clone, PartialOrd, PartialEq)]
|
#[derive(Copy, Clone, PartialOrd, PartialEq)]
|
||||||
pub enum ConnectionType {
|
pub enum ConnectionType {
|
||||||
PPoE,
|
PPoE,
|
||||||
|
|
@ -273,7 +273,7 @@ impl<
|
||||||
/// state of the [`Sockets`] is no longer in sync with the W5500, their usage might
|
/// state of the [`Sockets`] is no longer in sync with the W5500, their usage might
|
||||||
/// result in undefined behavior.
|
/// result in undefined behavior.
|
||||||
///
|
///
|
||||||
/// [`Sockets`]: Socket
|
/// [`Sockets`]: crate::Socket
|
||||||
pub unsafe fn reset(&mut self) -> Result<(), TransferError<SpiError, ChipSelectError>> {
|
pub unsafe fn reset(&mut self) -> Result<(), TransferError<SpiError, ChipSelectError>> {
|
||||||
self.write_to(
|
self.write_to(
|
||||||
Register::CommonRegister(0x00_00_u16),
|
Register::CommonRegister(0x00_00_u16),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue