mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
Apply suggestions from code review
Co-authored-by: becothas <41289937+becothas@users.noreply.github.com>
This commit is contained in:
parent
cf0097162c
commit
56d34eefaa
@ -128,7 +128,7 @@ fn main() -> ! {
|
|||||||
let _p = embassy_stm32::init(Default::default());
|
let _p = embassy_stm32::init(Default::default());
|
||||||
|
|
||||||
// STM32s don’t have software-defined interrupts, so just use any free interrupt vectors which aren’t used
|
// STM32s don’t have software-defined interrupts, so just use any free interrupt vectors which aren’t used
|
||||||
// by the rest of your application. In this case we’re using UART6 and UART7, but there’s nothing special
|
// by the rest of your application. In this case we’re using UART4 and UART5, but there’s nothing special
|
||||||
// about them. Any otherwise unused interrupt vector would work exactly the same.
|
// about them. Any otherwise unused interrupt vector would work exactly the same.
|
||||||
|
|
||||||
// High-priority executor: UART4, priority level 6
|
// High-priority executor: UART4, priority level 6
|
||||||
|
@ -128,7 +128,7 @@ fn main() -> ! {
|
|||||||
let _p = embassy_stm32::init(Default::default());
|
let _p = embassy_stm32::init(Default::default());
|
||||||
|
|
||||||
// STM32s don’t have software-defined interrupts, so just use any free interrupt vectors which aren’t used
|
// STM32s don’t have software-defined interrupts, so just use any free interrupt vectors which aren’t used
|
||||||
// by the rest of your application. In this case we’re using UART6 and UART7, but there’s nothing special
|
// by the rest of your application. In this case we’re using UART4 and UART5, but there’s nothing special
|
||||||
// about them. Any otherwise unused interrupt vector would work exactly the same.
|
// about them. Any otherwise unused interrupt vector would work exactly the same.
|
||||||
|
|
||||||
// High-priority executor: UART4, priority level 6
|
// High-priority executor: UART4, priority level 6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user