Remove temp variable

This commit is contained in:
Dion Dokter 2024-04-14 00:08:06 +02:00
parent b659e3d529
commit 0a785585bc

View File

@ -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;