Skip to content

Commit

Permalink
Unlock storage access in Prep Screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer committed Aug 20, 2022
1 parent 9db5708 commit 701c9a6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions linkerscript/injectors.lds
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ INCLUDE ../linkerscript/chapter_event.lds
INCLUDE ../linkerscript/unit.lds
INCLUDE ../linkerscript/other_texts.lds
INCLUDE ../linkerscript/menu.lds
INCLUDE ../linkerscript/storage.lds
2 changes: 2 additions & 0 deletions linkerscript/storage.lds
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
. = 0x808f834;
.text.isStorageAvailable : {*(.text.isStorageAvailable)}
7 changes: 7 additions & 0 deletions source/storage.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <tonc.h>

// Always allow storage to be accessed
int isStorageAvailable()
{
return TRUE;
}

0 comments on commit 701c9a6

Please sign in to comment.