diff --git a/embassy-usb-synopsys-otg/src/lib.rs b/embassy-usb-synopsys-otg/src/lib.rs index f45e59d0c..efa34b21b 100644 --- a/embassy-usb-synopsys-otg/src/lib.rs +++ b/embassy-usb-synopsys-otg/src/lib.rs @@ -1104,7 +1104,7 @@ impl<'d> embassy_usb_driver::EndpointOut for Endpoint<'d, Out> { if frame_is_odd { r.set_sd0pid_sevnfrm(true); } else { - r.set_sd1pid_soddfrm(true); + r.set_soddfrm(true); } }); } @@ -1206,7 +1206,7 @@ impl<'d> embassy_usb_driver::EndpointIn for Endpoint<'d, In> { if frame_is_odd { r.set_sd0pid_sevnfrm(true); } else { - r.set_sd1pid_soddfrm(true); + r.set_soddfrm_sd1pid(true); } }); } diff --git a/embassy-usb-synopsys-otg/src/otg_v1.rs b/embassy-usb-synopsys-otg/src/otg_v1.rs index 9f56f2fa8..a2ba4d1a5 100644 --- a/embassy-usb-synopsys-otg/src/otg_v1.rs +++ b/embassy-usb-synopsys-otg/src/otg_v1.rs @@ -1,5 +1,8 @@ -#![no_std] #![doc = "Peripheral access API (generated using chiptool v0.1.0 (6362222 2024-09-23))"] + +#![allow(missing_docs)] +#![allow(non_camel_case_types)] + #[doc = "USB OTG core by Synopsys (more docs at https://www.intel.com/content/www/us/en/programmable/hps/agilex5/index_frames.html)"] #[derive(Copy, Clone, Eq, PartialEq)] pub struct Otg {