Commit bccb3a84 authored by George Wort's avatar George Wort

Correct address of microbit_end_of_code.

parent 498be062
...@@ -42,7 +42,7 @@ char rom[0x40000]; ...@@ -42,7 +42,7 @@ char rom[0x40000];
/** The end of the code area in flash ROM (text plus read-only copy of data area) */ /** The end of the code area in flash ROM (text plus read-only copy of data area) */
static inline char *microbit_end_of_code() { static inline char *microbit_end_of_code() {
return &rom[0]; return &rom[0x398b4];
} }
static inline char *microbit_end_of_rom() { static inline char *microbit_end_of_rom() {
......
Markdown is supported
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