mirror of
https://github.com/embassy-rs/embassy.git
synced 2026-03-07 14:49:02 +00:00
Select STM32 devices allow for BANK1 and BANK2 to have their addresses swapped with the FB_MODE flag. The FB_MODE flag cannot change during runtime, meaning that we could only perform this check once, but the performance impact of checking each time should be minimal, and this avoids the need for additional synchronization.