fixmes be gone (#1448)

This commit is contained in:
Scott Mabin 2024-04-16 14:52:45 +01:00 committed by GitHub
parent 89a3d56b15
commit 48ced47874
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 6 deletions

View File

@ -194,9 +194,7 @@ impl RegisterAccess for ADC2 {
/// Analog-to-Digital Converter peripheral driver.
pub struct ADC<'d, ADC> {
_adc: PeripheralRef<'d, ADC>,
#[allow(dead_code)] // FIXME
attenuations: [Option<Attenuation>; NUM_ATTENS],
#[allow(dead_code)] // FIXME
active_channel: Option<u8>,
}

View File

@ -399,9 +399,7 @@ impl super::CalibrationAccess for crate::peripherals::ADC2 {
/// Analog-to-Digital Converter peripheral driver.
pub struct ADC<'d, ADCI> {
_adc: PeripheralRef<'d, ADCI>,
#[allow(dead_code)] // FIXME
attenuations: [Option<Attenuation>; NUM_ATTENS],
#[allow(dead_code)] // FIXME
active_channel: Option<u8>,
}

View File

@ -303,7 +303,6 @@ fn modem_lpcon_ll_set_wifi_lpclk_divisor_value(divider: u16) {
}
fn modem_clock_hal_enable_wifipwr_clock(enable: bool) {
// FIXME: esp-idf uses refcounting here for later revisions.
unsafe {
modem_lpcon()
.clk_conf()

View File

@ -256,7 +256,6 @@ pub enum OutputSignal {
GPIO = 128,
}
// FIXME: add alternate function numbers/signals where necessary
crate::gpio::gpio! {
(0, 0, InputOutputAnalog (2 => FSPIQ) (2 => FSPIQ))
(1, 0, InputOutputAnalog (2 => FSPICS0) (2 => FSPICS0))