Commit 268313bc authored by Lutz Freitag's avatar Lutz Freitag
Browse files

clear the PG bit before setting the PER bit

after the flash loader ran the PG bit is still set in the CR register.
in order to program the next page that page needs to be erased first and to get that working the PG bit has to be cleared so the flash controller knows what to do.
this fixes #579
parent f5d0454a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment