Skip to content

Commit 7155e4f

Browse files
committed
fix: formatting
1 parent 593b787 commit 7155e4f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/dht22.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ impl<P: InputPin + OutputPin, D: DelayNs> Dht22<P, D> {
5656
temperature_percentage = -temperature_percentage;
5757
}
5858

59-
6059
Ok(SensorReading {
6160
humidity: humidity_percentage,
6261
temperature: temperature_percentage,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ pub struct SensorReading<T> {
2323
pub enum SensorError {
2424
ChecksumMismatch,
2525
Timeout,
26-
PinError
26+
PinError,
2727
}

0 commit comments

Comments
 (0)