diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-07-16 20:14:47 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-07-16 22:08:50 +0200 |
| commit | c78dfa7e31e0808d413ad37de8d966cffe4a8fdd (patch) | |
| tree | 4210646e4cf9db2d4af168d5e5db0d81bc7f23f5 /embassy-stm32/src/usb | |
| parent | 6fb85826e86937ca2de6dab6346803abc81ccb04 (diff) | |
stm32: fix stm32g0b0 build.
It has USB but not HSI48 which would break things. Only g0x1 has HSI48.
Diffstat (limited to 'embassy-stm32/src/usb')
| -rw-r--r-- | embassy-stm32/src/usb/otg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/otg.rs b/embassy-stm32/src/usb/otg.rs index 3547ded00..e9afc0c54 100644 --- a/embassy-stm32/src/usb/otg.rs +++ b/embassy-stm32/src/usb/otg.rs | |||
| @@ -527,7 +527,7 @@ foreach_interrupt!( | |||
| 527 | ))] { | 527 | ))] { |
| 528 | const FIFO_DEPTH_WORDS: u16 = 1024; | 528 | const FIFO_DEPTH_WORDS: u16 = 1024; |
| 529 | const ENDPOINT_COUNT: usize = 9; | 529 | const ENDPOINT_COUNT: usize = 9; |
| 530 | } else if #[cfg(stm32u5)] { | 530 | } else if #[cfg(any(stm32u5, stm32wba))] { |
| 531 | const FIFO_DEPTH_WORDS: u16 = 1024; | 531 | const FIFO_DEPTH_WORDS: u16 = 1024; |
| 532 | const ENDPOINT_COUNT: usize = 9; | 532 | const ENDPOINT_COUNT: usize = 9; |
| 533 | } else { | 533 | } else { |
