Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Jul 1, 2022
1 parent f97955c commit a2e7b9b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ unsafe impl Send for HallSensor {}
impl embedded_hal_0_2::adc::Channel<adc::ADC1> for HallSensor {
type ID = ();

fn channel() -> Self::ID {
()
}
fn channel() -> Self::ID {}
}

0 comments on commit a2e7b9b

Please sign in to comment.