remove mut from examples in modem::init

This commit is contained in:
Vladan Popovic 2022-06-16 01:43:28 +02:00
parent 17b54fbe3a
commit 1cb8a90caf

View file

@ -125,9 +125,9 @@ impl<UART: serial::Uart> Modem<UART> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// let mut modem_pwrkey = dp.pins.gpio4.into_output().unwrap(); /// let modem_pwrkey = dp.pins.gpio4.into_output().unwrap();
/// let mut modem_rst = dp.pins.gpio5.into_output().unwrap(); /// let modem_rst = dp.pins.gpio5.into_output().unwrap();
/// let mut modem_power = dp.pins.gpio23.into_output().unwrap(); /// let modem_power = dp.pins.gpio23.into_output().unwrap();
/// ///
/// modem::init(modem_pwrkey, modem_rst, modem_power); /// modem::init(modem_pwrkey, modem_rst, modem_power);
/// ``` /// ```