added volatile type to prevent the compiler from optimizing writings to the buffer away

This commit is contained in:
clizia 2025-08-26 14:31:37 +02:00
parent 1fbe7a483b
commit 237b99941f
2 changed files with 16 additions and 4 deletions

View file

@ -16,3 +16,4 @@ panic = "abort" # disable stack unwinding on panic
[dependencies]
bootloader = "0.9"
volatile = "0.2.6"