mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Remove temp variable
This commit is contained in:
parent
b659e3d529
commit
0a785585bc
@ -19,7 +19,6 @@ fn main() -> ! {
|
||||
let p = embassy_stm32::init(config);
|
||||
|
||||
let mut adc = Adc::new(p.ADC1);
|
||||
let mut temp = adc.enable_temperature();
|
||||
adc.set_resolution(Resolution::BITS8);
|
||||
let mut channel = p.PC0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user