Skip to content

Commit e507237

Browse files
calebbourgjhodapp
authored andcommitted
add newlines between import groups with same base
1 parent 27a5f57 commit e507237

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

esp32-wroom-rp/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ mod spi;
160160
use defmt::{write, Format, Formatter};
161161

162162
use network::NetworkError;
163+
163164
use protocol::ProtocolError;
164165

165166
const ARRAY_LENGTH_PLACEHOLDER: usize = 8;

esp32-wroom-rp/src/protocol.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ use defmt::{write, Format, Formatter};
1515
use heapless::{String, Vec};
1616

1717
use super::network::{ConnectionState, IpAddress, Port, Socket, TransportMode};
18+
1819
use super::wifi::ConnectionStatus;
20+
1921
use super::{Error, FirmwareVersion, ARRAY_LENGTH_PLACEHOLDER};
2022

2123
use core::cell::RefCell;

esp32-wroom-rp/src/spi.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ use embedded_hal::blocking::delay::DelayMs;
55
use embedded_hal::blocking::spi::Transfer;
66

77
use super::gpio::EspControlInterface;
8+
89
use super::network::{ConnectionState, IpAddress, NetworkError, Port, Socket, TransportMode};
10+
911
use super::protocol::operation::Operation;
12+
1013
use super::protocol::{
1114
NinaByteParam, NinaCommand, NinaConcreteParam, NinaLargeArrayParam, NinaParam,
1215
NinaProtocolHandler, NinaSmallArrayParam, NinaWordParam, ProtocolError, ProtocolInterface,
1316
};
17+
1418
use super::wifi::ConnectionStatus;
19+
1520
use super::{Error, FirmwareVersion, ARRAY_LENGTH_PLACEHOLDER};
1621

1722
// TODO: this should eventually move into NinaCommandHandler

esp32-wroom-rp/src/tcp_client.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ use embedded_hal::blocking::spi::Transfer;
1212
use heapless::String;
1313

1414
use super::gpio::EspControlInterface;
15+
1516
use super::network::{
1617
ConnectionState, Hostname, IpAddress, NetworkError, Port, Socket, TransportMode,
1718
};
19+
1820
use super::protocol::{NinaProtocolHandler, ProtocolInterface};
21+
1922
use super::wifi::Wifi;
23+
2024
use super::{Error, ARRAY_LENGTH_PLACEHOLDER};
2125

2226
const MAX_HOSTNAME_LENGTH: usize = 255;

esp32-wroom-rp/src/wifi.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ use embedded_hal::blocking::delay::DelayMs;
1414
use embedded_hal::blocking::spi::Transfer;
1515

1616
use super::gpio::EspControlInterface;
17+
1718
use super::network::IpAddress;
19+
1820
use super::protocol::{NinaProtocolHandler, ProtocolInterface};
21+
1922
use super::{Error, FirmwareVersion};
2023

2124
/// An enumerated type that represents the current WiFi network connection status.

0 commit comments

Comments
 (0)