Skip to content

Commit

Permalink
Fix rustfmt lint πŸ™„
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Egger <[email protected]>
  • Loading branch information
therealprof committed Oct 29, 2023
1 parent 004f844 commit 3ecbbde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion microbit-common/src/v2/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ pub trait Default {

impl Default for AdcConfig {
fn default_10bit() -> Self {
AdcConfig { resolution: hal::saadc::Resolution::_10BIT, ..AdcConfig::default() }
AdcConfig {
resolution: hal::saadc::Resolution::_10BIT,
..AdcConfig::default()
}
}
}

0 comments on commit 3ecbbde

Please sign in to comment.