Skip to content

Commit 4594000

Browse files
committed
add newlines between import groups with same base
1 parent b59ee22 commit 4594000

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
@@ -99,6 +99,7 @@ mod spi;
9999
use defmt::{write, Format, Formatter};
100100

101101
use network::NetworkError;
102+
102103
use protocol::ProtocolError;
103104

104105
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
@@ -7,7 +7,9 @@ use defmt::{write, Format, Formatter};
77
use heapless::{String, Vec};
88

99
use super::network::{ConnectionState, IpAddress, Port, Socket, TransportMode};
10+
1011
use super::wifi::ConnectionStatus;
12+
1113
use super::{Error, FirmwareVersion, ARRAY_LENGTH_PLACEHOLDER};
1214

1315
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
@@ -4,11 +4,15 @@ use embedded_hal::blocking::spi::Transfer;
44
use heapless::String;
55

66
use super::gpio::EspControlInterface;
7+
78
use super::network::{
89
ConnectionState, Hostname, IpAddress, NetworkError, Port, Socket, TransportMode,
910
};
11+
1012
use super::protocol::{NinaProtocolHandler, ProtocolInterface};
13+
1114
use super::wifi::Wifi;
15+
1216
use super::{Error, ARRAY_LENGTH_PLACEHOLDER};
1317

1418
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
@@ -6,8 +6,11 @@ use embedded_hal::blocking::delay::DelayMs;
66
use embedded_hal::blocking::spi::Transfer;
77

88
use super::gpio::EspControlInterface;
9+
910
use super::network::IpAddress;
11+
1012
use super::protocol::{NinaProtocolHandler, ProtocolInterface};
13+
1114
use super::{Error, FirmwareVersion};
1215

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

0 commit comments

Comments
 (0)