Skip to content
Snippets Groups Projects
Commit 98ef95c1 authored by Samuel Tardieu's avatar Samuel Tardieu
Browse files

Remove unused method

parent 11b0b059
No related branches found
No related tags found
No related merge requests found
Pipeline #97623 canceled
......@@ -19,7 +19,3 @@ pub fn identify() {
defmt::info!("no identity and continuation codes");
}
}
pub fn device_id() -> &'static [u8; 8] {
unsafe { &*(0x1fff_f7e8 as *const [u8; 8]) }
}
use crate::{chip, encoders::Encoders, tb6612fng::Tb6612fng};
use crate::{encoders::Encoders, tb6612fng::Tb6612fng};
use embassy_executor::Spawner;
use embassy_stm32::{peripherals::WWDG, time::hz};
use futures::FutureExt;
......@@ -156,7 +156,7 @@ fn process_command(
cortex_m::peripheral::SCB::sys_reset();
}
[CMD_DEVICE_ID] => {
for &b in chip::device_id() {
for &b in common::device_id() {
response.push(b).unwrap();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment