chore(main): remove unused import
Some checks failed
Code quality / check (pull_request) Has been cancelled

This commit is contained in:
Naxdy 2024-04-08 22:47:08 +02:00
parent 3dac2639a6
commit 36d8c42d50
Signed by: Naxdy
GPG key ID: CC15075846BCE91B

View file

@ -30,8 +30,8 @@ use gpio::{Level, Output};
use input::{update_button_state_task, update_stick_states_task};
use static_cell::StaticCell;
use crate::config::enter_config_mode_task;
use crate::gcc_hid::rumble_task;
use crate::{config::enter_config_mode_task, input::input_integrity_benchmark};
use {defmt_rtt as _, panic_probe as _};
@ -104,21 +104,6 @@ fn main() -> ! {
});
});
// Stick loop has to run on core0 because it makes use of SPI0.
// Perhaps in the future we can rewire the board to have it make use of SPI1 instead.
// This way it could be the sole task running on core1, and everything else could happen on core0.
// Also, it needs to run on a higher prio executor to ensure consistent polling.
// interrupt::SWI_IRQ_1.set_priority(interrupt::Priority::P0);
// let spawner_high = EXECUTOR_HIGH.start(interrupt::SWI_IRQ_1);
// spawner_high
// .spawn(update_stick_states_task(
// spi,
// spi_acs,
// spi_ccs,
// controller_config.clone(),
// ))
// .unwrap();
let executor0 = EXECUTOR0.init(Executor::new());
info!("Initialized.");