mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-28 21:01:26 +00:00
Fix CI
This commit is contained in:
parent
496d42edfa
commit
356f9f8218
@ -28,7 +28,7 @@ fn main() -> anyhow::Result<()> {
|
||||
};
|
||||
|
||||
#[cfg(not(esp32))]
|
||||
let mut adc_pin = AdcChannelDriver::new(&adc, peripherals.pins.gpio2, config)?;
|
||||
let mut adc_pin = AdcChannelDriver::new(&adc, peripherals.pins.gpio2, &config)?;
|
||||
|
||||
#[cfg(esp32)]
|
||||
let mut adc_pin = AdcChannelDriver::new(&adc, peripherals.pins.gpio12, config)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user