mirror of
https://github.com/hubaldv/bioz-firmware-rs.git
synced 2025-12-06 05:01:18 +00:00
Working communication, icd not as submodule.
This commit is contained in:
@@ -17,7 +17,7 @@ use postcard_rpc::{
|
||||
},
|
||||
};
|
||||
|
||||
use bioz_icd::{PingEndpoint, GetUniqueIdEndpoint, ENDPOINT_LIST, TOPICS_IN_LIST, TOPICS_OUT_LIST};
|
||||
use bioz_icd_rs::{PingEndpoint, GetUniqueIdEndpoint, ENDPOINT_LIST, TOPICS_IN_LIST, TOPICS_OUT_LIST};
|
||||
|
||||
pub struct Context;
|
||||
|
||||
@@ -61,7 +61,7 @@ define_dispatch! {
|
||||
fn usb_config() -> embassy_usb::Config<'static> {
|
||||
let mut config = embassy_usb::Config::new(0x16c0, 0x27DD);
|
||||
config.manufacturer = Some("Hubald Verzijl");
|
||||
config.product = Some("bioz-amplifier");
|
||||
config.product = Some("Bioz Amplifier");
|
||||
config.serial_number = Some("12345678");
|
||||
|
||||
// Required for windows compatibility.
|
||||
@@ -117,9 +117,6 @@ fn ping_handler(_context: &mut Context, _header: VarHeader, rqst: u32) -> u32 {
|
||||
}
|
||||
|
||||
fn get_unique_id_handler(_context: &mut Context, _header: VarHeader, _rqst: ()) -> u64 {
|
||||
error!("get_unique_id");
|
||||
info!("get_unique_id");
|
||||
200
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user