mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 06:40:47 +00:00
fixmes be gone (#1448)
This commit is contained in:
parent
89a3d56b15
commit
48ced47874
@ -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>,
|
||||
}
|
||||
|
||||
|
@ -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>,
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user